]> git.lizzy.rs Git - rust.git/blob - tests/ui/span/type-binding.rs
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / span / type-binding.rs
1 // Regression test for issue #28158
2 // Test the type binding span doesn't include >>
3
4 use std::ops::Deref;
5
6 fn homura<T: Deref<Trget = i32>>(_: T) {}
7 //~^ ERROR not found
8
9 fn main() {}