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

7 lines
136 B
Rust

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