-
Couldn't load subscription status.
- Fork 13.9k
Improve error message for APIT with explicit generic arguments #65614
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
|
Some changes occurred in diagnostic error codes |
|
(rust_highfive has picked a reviewer for you, use r? to override) |
8016331 to
547259f
Compare
src/test/ui/synthetic-param.stderr
Outdated
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.
This span is not very good. I'll file a follow up issue.
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.
Filed #65642.
This is disallowed with type or const generics.
547259f to
2f7c9a2
Compare
|
@bors r+ |
|
📌 Commit 2f7c9a2 has been approved by |
…tthewjasper Improve error message for APIT with explicit generic arguments This is disallowed with type or const generics. cc rust-lang#61410.
Rollup of 8 pull requests Successful merges: - #65314 (rustdoc: forward -Z options to rustc) - #65592 (clarify const_prop ICE protection comment) - #65603 (Avoid ICE when include! is used by stdin crate) - #65614 (Improve error message for APIT with explicit generic arguments) - #65629 (Remove `borrowck_graphviz_postflow` from test) - #65633 (Remove leading :: from paths in doc examples) - #65638 (Rename the default argument 'def' to 'default') - #65639 (Fix parameter name in documentation) Failed merges: r? @ghost
This is disallowed with type or const generics. cc #61410.