fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0121]: the type placeholder `_` is not allowed within types on item signatures 2 --> $DIR/E0121.rs:1:13 3 | 4LL | fn foo() -> _ { 5 } 5 | ^ 6 | | 7 | not allowed in type signatures 8 | help: replace with the correct return type: `i32` 9 10error[E0121]: the type placeholder `_` is not allowed within types on item signatures 11 --> $DIR/E0121.rs:3:13 12 | 13LL | static BAR: _ = "test"; 14 | ^ 15 | | 16 | not allowed in type signatures 17 | help: replace `_` with the correct type: `&str` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0121`.