rust/tests/ui/span/type-binding.rs

10 lines
185 B
Rust

// Regression test for issue #28158
// Test the type binding span doesn't include >>
use std::ops::Deref;
fn homura<T: Deref<Trget = i32>>(_: T) {}
//~^ ERROR not found
fn main() {}