rust/tests/ui/parser/bad-pointer-type.rs

6 lines
102 B
Rust

fn foo(_: *()) {
//~^ ERROR expected `mut` or `const` keyword in raw pointer type
}
fn main() {}