rustdoc: remove redundant test

This commit is contained in:
Patrik Kårlin 2023-03-01 10:41:59 +01:00
parent 466fc4af84
commit 2ee19c9c4c
No known key found for this signature in database
2 changed files with 0 additions and 13 deletions

View File

@ -1,4 +0,0 @@
use std::ops::Generator;
fn gen() -> impl Generator<{}> {}
//~^ERROR constant provided when a type was expected

View File

@ -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`.