blob: 07d0f8f8769e5f2bd46ed23e24a718b315a8b44f (
plain)
1
2
3
4
5
6
7
8
9
10
|
#[allow(dead_code)]
fn foo<M>(_m: M)
where
M::Item: Temp,
//~^ ERROR cannot find trait `Temp` in this scope [E0405]
//~| ERROR associated type `Item` not found for `M` [E0220]
{
}
fn main() {}
|