1
Fork 0

Remove textual span from diagnostic string

This commit is contained in:
Oli Scherer 2021-10-05 12:11:51 +00:00
parent a16f686e4a
commit 15f93473f1
125 changed files with 329 additions and 376 deletions

View file

@ -6,7 +6,7 @@ LL | ss.t = t;
|
= note: expected reference `&'a MyBox<(dyn Test + 'static)>`
found reference `&'a MyBox<(dyn Test + 'a)>`
note: the lifetime `'a` as defined on the function body at 20:6...
note: the lifetime `'a` as defined here...
--> $DIR/object-lifetime-default-from-rptr-struct-error.rs:20:6
|
LL | fn c<'a>(t: &'a MyBox<dyn Test+'a>, mut ss: SomeStruct<'a>) {