Fix stability attribute of `impl !Error for &str` · patricklam/verify-rust-std@93319c8

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 93319c8

committed

Fix stability attribute of impl !Error for &str

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

1 parent 91439ce commit 93319c8

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)