summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-type-bounds/missing-trait-bound-for-assoc-fails.stderr
blob: bc2807b03961c0db6f79a3d93f41741272f5ab38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0405]: cannot find trait `Temp` in this scope
  --> $DIR/missing-trait-bound-for-assoc-fails.rs:4:14
   |
LL |     M::Item: Temp,
   |              ^^^^ not found in this scope

error[E0220]: associated type `Item` not found for `M`
  --> $DIR/missing-trait-bound-for-assoc-fails.rs:4:8
   |
LL |     M::Item: Temp,
   |        ^^^^ associated type `Item` not found

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0220, E0405.
For more information about an error, try `rustc --explain E0220`.