X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Ftraits%2Fmap-types.stderr;h=f685c50b07d5b439e8a7542ec26618df141d877c;hb=d708bc45c4092432f87090c1624c25bf76f49d9e;hp=a4686edb7175745ecab4d93a0ce30c3d60fb045c;hpb=036f62badf311de9906a58b547295469ed7a10c1;p=rust.git diff --git a/src/test/ui/traits/map-types.stderr b/src/test/ui/traits/map-types.stderr index a4686edb717..f685c50b07d 100644 --- a/src/test/ui/traits/map-types.stderr +++ b/src/test/ui/traits/map-types.stderr @@ -5,7 +5,7 @@ LL | let y: Box> = Box::new(x); | ^^^^^^^^^^^ the trait `Map` is not implemented for `Box>` | = help: the trait `Map` is implemented for `HashMap` - = note: required for the cast to the object type `dyn Map` + = note: required for the cast from `Box>` to the object type `dyn Map` error: aborting due to previous error