File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_middle/src/ty
tests/ui/generic-associated-types Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ impl<'tcx> TypeError<'tcx> {
195195 )
196196 . into ( ) ,
197197 ProjectionMismatched ( ref values) => format ! (
198- "expected {} , found {} " ,
198+ "expected `{}` , found `{}` " ,
199199 tcx. def_path_str( values. expected) ,
200200 tcx. def_path_str( values. found)
201201 )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ LL | fn floatify_sibling<C>(ints: &C) -> <C as Collection<i32>>::Sibling<f32>
55 | ------------------------------------ expected `<C as Collection<i32>>::Sibling<f32>` because of return type
66...
77LL | res
8- | ^^^ expected Collection::Sibling, found CollectionFamily::Member
8+ | ^^^ expected ` Collection::Sibling` , found ` CollectionFamily::Member`
99 |
1010 = note: expected associated type `<C as Collection<i32>>::Sibling<f32>`
1111 found associated type `<<C as Collection<i32>>::Family as CollectionFamily>::Member<f32>`
You can’t perform that action at this time.
0 commit comments