]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-81885.stderr
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / test / ui / typeck / issue-81885.stderr
1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
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 placeholder `_` is not allowed within types on item signatures for functions
8   --> $DIR/issue-81885.rs:5: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`.