rust/tests/ui/consts/issue-104768.rs

6 lines
157 B
Rust

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