rust/tests/ui/lowering/span-bug-issue-121431.rs

5 lines
150 B
Rust
Raw Normal View History

fn bug<T>() -> impl CallbackMarker< Item = [(); { |_: &mut ()| 3; 4 }] > {}
//~^ ERROR cannot find trait `CallbackMarker` in this scope
fn main() {}