diff options
| -rw-r--r-- | tests/rustdoc-ui/invalid-toplevel-const.rs | 2 | ||||
| -rw-r--r-- | tests/rustdoc-ui/invalid-toplevel-const.stderr | 9 |
2 files changed, 0 insertions, 11 deletions
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<dyn Fn(& _)> = 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<dyn Fn(& _)> = None; - | ^ not allowed in type signatures - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0121`. |
