Skip to content

Fix stability attribute of impl !Error for &str #129312

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented Aug 20, 2024

It was introduced in bf7611d (#99917), which was included in Rust 1.65.0.

@rustbot
Copy link
Collaborator

rustbot commented Aug 20, 2024

r? @Noratrieb

rustbot has assigned @Noratrieb.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 20, 2024
@rust-log-analyzer

This comment has been minimized.

@Noratrieb
Copy link
Member

Noratrieb commented Aug 20, 2024

you need to change the feature name to one that matches, or make up your own

@tbu- tbu- force-pushed the pr_str_not_impl_error branch from 068e692 to a1a5130 Compare August 20, 2024 19:33
@tbu-
Copy link
Contributor Author

tbu- commented Aug 20, 2024

Called it error_in_core since that's what the referenced PR did.

@rust-log-analyzer

This comment has been minimized.

@Noratrieb
Copy link
Member

i think you need a new feature, cause error_in_core was only recently stabilized, whereas this has been stable since then

It was introduced in bf7611d (rust-lang#99917),
which was included in Rust 1.65.0.
@tbu- tbu- force-pushed the pr_str_not_impl_error branch from a1a5130 to 123bb58 Compare August 21, 2024 14:21
@tbu-
Copy link
Contributor Author

tbu- commented Aug 21, 2024

Done.

@Noratrieb
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Aug 21, 2024

📌 Commit 123bb58 has been approved by Noratrieb

It is now in the queue for this repository.

@bors bors 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 Aug 21, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 21, 2024
…iaskrgr

Rollup of 10 pull requests

Successful merges:

 - rust-lang#128627 (Special case DUMMY_SP to emit line 0/column 0 locations on DWARF platforms.)
 - rust-lang#128843 (Minor Refactor: Remove a Redundant Conditional Check)
 - rust-lang#129179 (CFI: Erase regions when projecting ADT to its transparent non-1zst field)
 - rust-lang#129281 (Tweak unreachable lint wording)
 - rust-lang#129312 (Fix stability attribute of `impl !Error for &str`)
 - rust-lang#129332 (Avoid extra `cast()`s after `CStr::as_ptr()`)
 - rust-lang#129339 (Make `ArgAbi::make_indirect_force` more specific)
 - rust-lang#129344 (Use `bool` in favor of `Option<()>` for diagnostics)
 - rust-lang#129345 (Use shorthand field initialization syntax more aggressively in the compiler)
 - rust-lang#129355 (fix comment on PlaceMention semantics)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 349f299 into rust-lang:master Aug 21, 2024
6 checks passed
@rustbot rustbot added this to the 1.82.0 milestone Aug 21, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Aug 21, 2024
Rollup merge of rust-lang#129312 - tbu-:pr_str_not_impl_error, r=Noratrieb

Fix stability attribute of `impl !Error for &str`

It was introduced in bf7611d (rust-lang#99917), which was included in Rust 1.65.0.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants