#[cfg]: suggest alternative target_ name when the value does not match#154777
Merged
rust-bors[bot] merged 2 commits intorust-lang:mainfrom Apr 6, 2026
Merged
#[cfg]: suggest alternative target_ name when the value does not match#154777rust-bors[bot] merged 2 commits intorust-lang:mainfrom
#[cfg]: suggest alternative target_ name when the value does not match#154777rust-bors[bot] merged 2 commits intorust-lang:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
d47248a to
bf4bc77
Compare
This comment has been minimized.
This comment has been minimized.
bf4bc77 to
ca0a5e8
Compare
This comment has been minimized.
This comment has been minimized.
db9d9a7 to
96fc8a8
Compare
This comment has been minimized.
This comment has been minimized.
96fc8a8 to
0a12c07
Compare
#[cfg]: suggest alternative target_ name when the value does not match
0a12c07 to
813eef5
Compare
Contributor
Author
|
r? jdonszelmann |
Collaborator
|
|
Collaborator
|
Some changes occurred in check-cfg diagnostics cc @Urgau |
Urgau
reviewed
Apr 4, 2026
Contributor
Collaborator
|
Reminder, once the PR becomes ready for a review, use |
813eef5 to
ccad9da
Compare
Collaborator
|
Some changes occurred in cfg and check-cfg configuration cc @Urgau |
Member
I did another quick review. Feel free to do our review after that. |
275aa0d to
8a11d99
Compare
Urgau
approved these changes
Apr 5, 2026
Member
There was a problem hiding this comment.
Looks good to me (module the two nits). I will let @jdonszelmann do a final review.
8a11d99 to
1d79216
Compare
Contributor
Author
|
@Urgau thank you for your reviews! |
jdonszelmann
reviewed
Apr 6, 2026
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Apr 6, 2026
…szelmann `#[cfg]`: suggest alternative `target_` name when the value does not match
This was referenced Apr 6, 2026
rust-bors bot
pushed a commit
that referenced
this pull request
Apr 6, 2026
…uwer Rollup of 9 pull requests Successful merges: - #153440 (Various LTO cleanups) - #151899 (Constify fold, reduce and last for iterator) - #154561 (Suggest similar keyword when visibility is not followed by an item) - #154657 (Fix pattern assignment suggestions for uninitialized bindings) - #154717 (Fix ICE in unsafe binder discriminant helpers) - #154722 (fix(lints): Improve `ill_formed_attribute_input` with better help message) - #154777 (`#[cfg]`: suggest alternative `target_` name when the value does not match) - #154849 (Promote `char::is_case_ignorable` from perma-unstable to unstable) - #154850 (ast_validation: scalable vectors okay for rustdoc)
rust-timer
added a commit
that referenced
this pull request
Apr 6, 2026
Rollup merge of #154777 - scrabsha:push-nunzyzrqlwqw, r=jdonszelmann `#[cfg]`: suggest alternative `target_` name when the value does not match
Contributor
Author
|
update on this: flakiness is being addressed in #154886 :/ |
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this pull request
Apr 7, 2026
…uwer Rollup of 9 pull requests Successful merges: - rust-lang/rust#153440 (Various LTO cleanups) - rust-lang/rust#151899 (Constify fold, reduce and last for iterator) - rust-lang/rust#154561 (Suggest similar keyword when visibility is not followed by an item) - rust-lang/rust#154657 (Fix pattern assignment suggestions for uninitialized bindings) - rust-lang/rust#154717 (Fix ICE in unsafe binder discriminant helpers) - rust-lang/rust#154722 (fix(lints): Improve `ill_formed_attribute_input` with better help message) - rust-lang/rust#154777 (`#[cfg]`: suggest alternative `target_` name when the value does not match) - rust-lang/rust#154849 (Promote `char::is_case_ignorable` from perma-unstable to unstable) - rust-lang/rust#154850 (ast_validation: scalable vectors okay for rustdoc)
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Apr 7, 2026
…JonathanBrouwer Stabilize check-cfg suggestions for symbol When I was working on rust-lang#154794, I found a weird CI fail rust-lang#154794 (comment), I finally found this caused by unstable cfg suggestions by using `FxHashSet`(from PR rust-lang#154777). Because my PR by luck insert a new symbol, which makes the final diagnostic order changed. It's a standalone issue, so it's better to fix in a separate PR.
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Apr 7, 2026
…JonathanBrouwer Stabilize check-cfg suggestions for symbol When I was working on rust-lang#154794, I found a weird CI fail rust-lang#154794 (comment), I finally found this caused by unstable cfg suggestions by using `FxHashSet`(from PR rust-lang#154777). Because my PR by luck insert a new symbol, which makes the final diagnostic order changed. It's a standalone issue, so it's better to fix in a separate PR.
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Apr 7, 2026
…JonathanBrouwer Stabilize check-cfg suggestions for symbol When I was working on rust-lang#154794, I found a weird CI fail rust-lang#154794 (comment), I finally found this caused by unstable cfg suggestions by using `FxHashSet`(from PR rust-lang#154777). Because my PR by luck insert a new symbol, which makes the final diagnostic order changed. It's a standalone issue, so it's better to fix in a separate PR.
rust-timer
added a commit
that referenced
this pull request
Apr 7, 2026
Rollup merge of #154886 - chenyukang:yukang-fix-cfg-sugg, r=JonathanBrouwer Stabilize check-cfg suggestions for symbol When I was working on #154794, I found a weird CI fail #154794 (comment), I finally found this caused by unstable cfg suggestions by using `FxHashSet`(from PR #154777). Because my PR by luck insert a new symbol, which makes the final diagnostic order changed. It's a standalone issue, so it's better to fix in a separate PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
View all comments
Renders as:
