mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
rustdoc: remove redundant test
This commit is contained in:
parent
466fc4af84
commit
2ee19c9c4c
@ -1,4 +0,0 @@
|
||||
use std::ops::Generator;
|
||||
|
||||
fn gen() -> impl Generator<{}> {}
|
||||
//~^ERROR constant provided when a type was expected
|
@ -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`.
|
Loading…
Reference in New Issue
Block a user