diff --git a/tests/rustdoc-ui/invalid_const_in_type_position.rs b/tests/rustdoc-ui/invalid_const_in_type_position.rs deleted file mode 100644 index b8ddd80d5cb..00000000000 --- a/tests/rustdoc-ui/invalid_const_in_type_position.rs +++ /dev/null @@ -1,4 +0,0 @@ -use std::ops::Generator; - -fn gen() -> impl Generator<{}> {} -//~^ERROR constant provided when a type was expected diff --git a/tests/rustdoc-ui/invalid_const_in_type_position.stderr b/tests/rustdoc-ui/invalid_const_in_type_position.stderr deleted file mode 100644 index 27c9a730fb4..00000000000 --- a/tests/rustdoc-ui/invalid_const_in_type_position.stderr +++ /dev/null @@ -1,9 +0,0 @@ -error[E0747]: constant provided when a type was expected - --> $DIR/invalid_const_in_type_position.rs:3:28 - | -LL | fn gen() -> impl Generator<{}> {} - | ^^ - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0747`.