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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
128 B
Rust
Raw Normal View History

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