]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-81885.stderr
Auto merge of #107303 - compiler-errors:intern-canonical-var-values, r=lcnr
[rust.git] / tests / 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 constant items
8   --> $DIR/issue-81885.rs:1:22
9    |
10 LL | const TEST4: fn() -> _ = 42;
11    |                      ^ not allowed in type signatures
12
13 error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
14   --> $DIR/issue-81885.rs:6:26
15    |
16 LL |     const TEST5: fn() -> _ = 42;
17    |                          ^ not allowed in type signatures
18
19 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constant items
20   --> $DIR/issue-81885.rs:6:26
21    |
22 LL |     const TEST5: fn() -> _ = 42;
23    |                          ^ not allowed in type signatures
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0121`.