]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26056.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-26056.stderr
1 error[E0038]: the trait `Map` cannot be made into an object
2   --> $DIR/issue-26056.rs:30:13
3    |
4 LL |         as &Map<Key=u32,MapValue=u32>;
5    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Map` cannot be made into an object
6    |
7    = note: the trait cannot use `Self` as a type parameter in the supertraits or where-clauses
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0038`.