1 error[E0038]: the trait `Map` cannot be made into an object
2 --> $DIR/issue-26056.rs:30:13
4 LL | as &Map<Key=u32,MapValue=u32>;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Map` cannot be made into an object
7 = note: the trait cannot use `Self` as a type parameter in the supertraits or where-clauses
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0038`.