-
Notifications
You must be signed in to change notification settings - Fork 547
Update rustc_on_unimplemented
docs
#2357
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
Conversation
Please ping me after the next beta bump, I'll merge this then. |
Let me know if this is now mergeable. |
Not yet, I want to make a couple of changes. |
rustc_on_unimplemented cleanups Addresses some of the fixmes from rust-lang#139091 and rust-lang#140307. - switch from `_Self` to `Self` in library - properly validate that arguments in the `on` filter and the format strings are actually valid See rust-lang/rustc-dev-guide#2357 for the relevant documentation.
Rollup merge of rust-lang#141130 - mejrs:use_self, r=compiler-errors rustc_on_unimplemented cleanups Addresses some of the fixmes from rust-lang#139091 and rust-lang#140307. - switch from `_Self` to `Self` in library - properly validate that arguments in the `on` filter and the format strings are actually valid See rust-lang/rustc-dev-guide#2357 for the relevant documentation.
This comment has been minimized.
This comment has been minimized.
rust-lang/rust#141130 got merged, we're good now :) @rustbot ready |
Huh, right, we should probably enable waiting-on-{review,author} flips |
src/diagnostics.md
Outdated
@@ -930,45 +922,61 @@ Would generate the following output: | |||
|
|||
```text | |||
error[E0277]: message | |||
--> <anon>:14:5 | |||
--> <file>>:10:19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit:
--> <file>>:10:19 | |
--> <file>:10:19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
rustc_on_unimplemented cleanups Addresses some of the fixmes from rust-lang#139091 and rust-lang#140307. - switch from `_Self` to `Self` in library - properly validate that arguments in the `on` filter and the format strings are actually valid See rust-lang/rustc-dev-guide#2357 for the relevant documentation.
Note that these docs reflect the current implementation but some fixes and updates have not percolated into the bootstrap compiler yet:
"{This}"
is not supported_Self
but notSelf
.So I guess we should avoid merging this until the middle of May?
Rendered