Rollup merge of #129312 - tbu-:pr_str_not_impl_error, r=Noratrieb · patricklam/verify-rust-std@6d01ed8

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 6d01ed8

authored

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.

2 parents 7f8bdd5 + 93319c8 commit 6d01ed8

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -2818,5 +2818,5 @@ impl_fn_for_zst! {

28182818

}

28192819
28202820

// This is required to make `impl From<&str> for Box<dyn Error>` and `impl<E> From<E> for Box<dyn Error>` not overlap.

2821-

#[stable(feature = "rust1", since = "1.0.0")]

2821+

#[stable(feature = "error_in_core_neg_impl", since = "1.65.0")]

28222822

impl !crate::error::Error for &str {}

0 commit comments

Comments

 (0)