rustc/tests/ui/lowering/span-bug-issue-121431.rs
2024-06-21 09:39:33 +02:00

5 lines
150 B
Rust

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