]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error[E0121]: the type placeholder `_` is not allowed within types on item signatures |
2 | --> $DIR/issue-81885.rs:1:22 | |
3 | | | |
4 | LL | const TEST4: fn() -> _ = 42; | |
5 | | ^ not allowed in type signatures | |
6 | ||
7 | error[E0121]: the type placeholder `_` is not allowed within types on item signatures | |
8 | --> $DIR/issue-81885.rs:6:26 | |
9 | | | |
10 | LL | const TEST5: fn() -> _ = 42; | |
11 | | ^ not allowed in type signatures | |
12 | ||
13 | error: aborting due to 2 previous errors | |
14 | ||
15 | For more information about this error, try `rustc --explain E0121`. |