mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
10 lines
324 B
Plaintext
10 lines
324 B
Plaintext
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`.
|