From 4d571a9ccf239ae4d5e354786ede05fda2745f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20K=C3=A5rlin?= Date: Wed, 1 Mar 2023 10:45:08 +0100 Subject: [PATCH] rustdoc: remove other redundant item --- tests/rustdoc-ui/invalid-toplevel-const.rs | 2 -- tests/rustdoc-ui/invalid-toplevel-const.stderr | 9 --------- 2 files changed, 11 deletions(-) delete mode 100644 tests/rustdoc-ui/invalid-toplevel-const.rs delete mode 100644 tests/rustdoc-ui/invalid-toplevel-const.stderr diff --git a/tests/rustdoc-ui/invalid-toplevel-const.rs b/tests/rustdoc-ui/invalid-toplevel-const.rs deleted file mode 100644 index 227be0cfc9a..00000000000 --- a/tests/rustdoc-ui/invalid-toplevel-const.rs +++ /dev/null @@ -1,2 +0,0 @@ -static CONST: Option = None; -//~^ ERROR: the placeholder `_` is not allowed within types on item signatures for static items [E0121] diff --git a/tests/rustdoc-ui/invalid-toplevel-const.stderr b/tests/rustdoc-ui/invalid-toplevel-const.stderr deleted file mode 100644 index ae19b728bfe..00000000000 --- a/tests/rustdoc-ui/invalid-toplevel-const.stderr +++ /dev/null @@ -1,9 +0,0 @@ -error[E0121]: the placeholder `_` is not allowed within types on item signatures for static items - --> $DIR/invalid-toplevel-const.rs:1:31 - | -LL | static CONST: Option = None; - | ^ not allowed in type signatures - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0121`.