-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Clean fix for #96223 #97123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean fix for #96223 #97123
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ LL | foo::<S>(s); | |
| ^^^^^^^^ the trait `for<'b> Trait` is not implemented for `&'b S` | ||
| | ||
= help: the trait `Trait` is implemented for `&'a mut S` | ||
= note: `for<'b> Trait` is implemented for `&'b mut S`, but not for `&'b S` | ||
Comment on lines
7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is less than ideal, but I think it should be left for a separate PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, but I was not really able to understand why line 7 is printing only not satisfied trait and a different name for the lifetime from the one use in the code ( |
||
note: required by a bound in `foo` | ||
--> $DIR/imm-ref-trait-object-literal-bound-regions.rs:11:20 | ||
| | ||
|
Uh oh!
There was an error while loading. Please reload this page.