rust/tests/ui/consts/issue-104768.rs
2023-01-11 09:32:08 +00:00

5 lines
128 B
Rust

const A: &_ = 0_u32;
//~^ ERROR: the placeholder `_` is not allowed within types on item signatures for constants
fn main() {}