summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/type-binding.rs
blob: 32016e1278f6d5c0ca3c241b4037940156a4e078 (plain)
1
2
3
4
5
6
7
8
9
// 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() {}