Skip to content

Update lint message for ABI not supported - #131675

Merged
bors merged 1 commit into
rust-lang:masterfrom
tdittr:update-unsupported-abi-message
Oct 15, 2024
Merged

Update lint message for ABI not supported#131675
bors merged 1 commit into
rust-lang:masterfrom
tdittr:update-unsupported-abi-message

Conversation

@tdittr

@tdittrtdittr commented Oct 14, 2024

Copy link
Copy Markdown
Contributor

Tracking issue: #130260

As requested in #128784 (review) I updated the error message.

I could also change it to be the same message as if it was a hard error on a normal function:

"{abi} is not a supported ABI for the current target"

Or would that get confusing when people try to google the error message?

r? compiler-errors

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 14, 2024

@compiler-errorscompiler-errors left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me, i can approve once it's re-blessed and ci is green

Comment threadcompiler/rustc_hir_analysis/src/check/check.rs Outdated
@compiler-errors

Copy link
Copy Markdown
Contributor

remove the backticks, that is :D

@tdittr
tdittrforce-pushed the update-unsupported-abi-message branch from 0d70dee to b6b6c12CompareOctober 14, 2024 08:02
@compiler-errors

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Oct 14, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit b6b6c12 has been approved by compiler-errors

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 14, 2024
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 14, 2024
…age, r=compiler-errors
Update lint message for ABI not supported
Tracking issue: rust-lang#130260
As requested in rust-lang#128784 (review) I updated the error message.
I could also change it to be the same message as if it was a hard error on a normal function:
> "`{abi}` is not a supported ABI for the current target"
Or would that get confusing when people try to google the error message?
r? compiler-errors
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 14, 2024
…age, r=compiler-errors
Update lint message for ABI not supported
Tracking issue: rust-lang#130260
As requested in rust-lang#128784 (review) I updated the error message.
I could also change it to be the same message as if it was a hard error on a normal function:
> "`{abi}` is not a supported ABI for the current target"
Or would that get confusing when people try to google the error message?
r? compiler-errors
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 15, 2024
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#122670 (Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode)
- rust-lang#130568 (Make some float methods unstable `const fn`)
- rust-lang#131137 (Add 1.82 release notes)
- rust-lang#131328 (Remove unnecessary sorts in `rustc_hir_analysis`)
- rust-lang#131652 (Move polarity into `PolyTraitRef` rather than storing it on the side)
- rust-lang#131675 (Update lint message for ABI not supported)
- rust-lang#131681 (Fix up-to-date checking for run-make tests)
- rust-lang#131703 (Resolved python deprecation warning in publish_toolstate.py)
- rust-lang#131706 (Fix two const-hacks)
r? `@ghost`
`@rustbot` modify labels: rollup
compiler-errors added a commit to compiler-errors/rust that referenced this pull request Oct 15, 2024
…age, r=compiler-errors
Update lint message for ABI not supported
Tracking issue: rust-lang#130260
As requested in rust-lang#128784 (review) I updated the error message.
I could also change it to be the same message as if it was a hard error on a normal function:
> "`{abi}` is not a supported ABI for the current target"
Or would that get confusing when people try to google the error message?
r? compiler-errors
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 15, 2024
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#122670 (Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode)
- rust-lang#131095 (Use environment variables instead of command line arguments for merged doctests)
- rust-lang#131339 (Expand set_ptr_value / with_metadata_of docs)
- rust-lang#131652 (Move polarity into `PolyTraitRef` rather than storing it on the side)
- rust-lang#131675 (Update lint message for ABI not supported)
- rust-lang#131681 (Fix up-to-date checking for run-make tests)
- rust-lang#131702 (Suppress import errors for traits that couldve applied for method lookup error)
- rust-lang#131703 (Resolved python deprecation warning in publish_toolstate.py)
- rust-lang#131710 (Remove `'apostrophes'` from `rustc_parse_format`)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 15, 2024
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#122670 (Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode)
- rust-lang#131095 (Use environment variables instead of command line arguments for merged doctests)
- rust-lang#131339 (Expand set_ptr_value / with_metadata_of docs)
- rust-lang#131652 (Move polarity into `PolyTraitRef` rather than storing it on the side)
- rust-lang#131675 (Update lint message for ABI not supported)
- rust-lang#131681 (Fix up-to-date checking for run-make tests)
- rust-lang#131702 (Suppress import errors for traits that couldve applied for method lookup error)
- rust-lang#131703 (Resolved python deprecation warning in publish_toolstate.py)
- rust-lang#131710 (Remove `'apostrophes'` from `rustc_parse_format`)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 15, 2024
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#122670 (Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode)
- rust-lang#131095 (Use environment variables instead of command line arguments for merged doctests)
- rust-lang#131339 (Expand set_ptr_value / with_metadata_of docs)
- rust-lang#131652 (Move polarity into `PolyTraitRef` rather than storing it on the side)
- rust-lang#131675 (Update lint message for ABI not supported)
- rust-lang#131681 (Fix up-to-date checking for run-make tests)
- rust-lang#131702 (Suppress import errors for traits that couldve applied for method lookup error)
- rust-lang#131703 (Resolved python deprecation warning in publish_toolstate.py)
- rust-lang#131710 (Remove `'apostrophes'` from `rustc_parse_format`)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit bd649b4 into rust-lang:masterOct 15, 2024
@rustbotrustbot added this to the 1.84.0 milestone Oct 15, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Oct 15, 2024
Rollup merge of rust-lang#131675 - tdittr:update-unsupported-abi-message, r=compiler-errors
Update lint message for ABI not supported
Tracking issue: rust-lang#130260
As requested in rust-lang#128784 (review) I updated the error message.
I could also change it to be the same message as if it was a hard error on a normal function:
> "`{abi}` is not a supported ABI for the current target"
Or would that get confusing when people try to google the error message?
r? compiler-errors
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 18, 2024
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#122670 (Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode)
- rust-lang#131095 (Use environment variables instead of command line arguments for merged doctests)
- rust-lang#131339 (Expand set_ptr_value / with_metadata_of docs)
- rust-lang#131652 (Move polarity into `PolyTraitRef` rather than storing it on the side)
- rust-lang#131675 (Update lint message for ABI not supported)
- rust-lang#131681 (Fix up-to-date checking for run-make tests)
- rust-lang#131702 (Suppress import errors for traits that couldve applied for method lookup error)
- rust-lang#131703 (Resolved python deprecation warning in publish_toolstate.py)
- rust-lang#131710 (Remove `'apostrophes'` from `rustc_parse_format`)
r? `@ghost`
`@rustbot` modify labels: rollup
rust-borsBot pushed a commit that referenced this pull request Feb 27, 2026
Rollup of 9 pull requests
Successful merges:
- #122670 (Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode)
- #131095 (Use environment variables instead of command line arguments for merged doctests)
- #131339 (Expand set_ptr_value / with_metadata_of docs)
- #131652 (Move polarity into `PolyTraitRef` rather than storing it on the side)
- #131675 (Update lint message for ABI not supported)
- #131681 (Fix up-to-date checking for run-make tests)
- #131702 (Suppress import errors for traits that couldve applied for method lookup error)
- #131703 (Resolved python deprecation warning in publish_toolstate.py)
- #131710 (Remove `'apostrophes'` from `rustc_parse_format`)
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@tdittr@compiler-errors@bors@rustbot