rust/tests/ui/query-system/no-query-in-printing-during-query-descr.rs

7 lines
136 B
Rust
Raw Normal View History

fn a() -> _ {
//~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
&a
}
fn main() {}