]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-104768.stderr
Rollup merge of #106699 - eholk:await-chains-drop-tracking, r=wesleywiser
[rust.git] / tests / ui / consts / issue-104768.stderr
1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
2   --> $DIR/issue-104768.rs:1:10
3    |
4 LL | const A: &_ = 0_u32;
5    |          ^^
6    |          |
7    |          not allowed in type signatures
8    |          help: replace with the correct type: `u32`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0121`.