]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-type-bounds/missing-trait-bound-for-assoc-fails.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / associated-type-bounds / missing-trait-bound-for-assoc-fails.rs
CommitLineData
6a06907d
XL
1#[allow(dead_code)]
2fn foo<M>(_m: M)
3where
4 M::Item: Temp,
5 //~^ ERROR cannot find trait `Temp` in this scope [E0405]
6 //~| ERROR associated type `Item` not found for `M` [E0220]
7{
8}
9
10fn main() {}