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> {
195
195
)
196
196
. into ( ) ,
197
197
ProjectionMismatched ( ref values) => format ! (
198
- "expected {} , found {} " ,
198
+ "expected `{}` , found `{}` " ,
199
199
tcx. def_path_str( values. expected) ,
200
200
tcx. def_path_str( values. found)
201
201
)
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>
5
5
| ------------------------------------ expected `<C as Collection<i32>>::Sibling<f32>` because of return type
6
6
...
7
7
LL | res
8
- | ^^^ expected Collection::Sibling, found CollectionFamily::Member
8
+ | ^^^ expected ` Collection::Sibling` , found ` CollectionFamily::Member`
9
9
|
10
10
= note: expected associated type `<C as Collection<i32>>::Sibling<f32>`
11
11
found associated type `<<C as Collection<i32>>::Family as CollectionFamily>::Member<f32>`
You can’t perform that action at this time.
0 commit comments