rust/tests/ui/error-codes/E0799.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
324 B
Plaintext
Raw Normal View History

error[E0799]: expected type or const parameter, found function `main`
--> $DIR/E0799.rs:1:31
|
LL | fn test() -> impl Sized + use<main> {}
| ^^^^ not a type or const parameter
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0799`.