Skip to content

Commit f2b22a1

Browse files
committed
Correct stability attribute for new LexError impls
1 parent c0c5269 commit f2b22a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libproc_macro/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ pub struct LexError {
6666
_inner: (),
6767
}
6868

69-
#[stable(feature = "proc_macro_lib", since = "1.15.0")]
69+
#[stable(feature = "proc_macro_lexerror_impls", since = "1.44.0")]
7070
impl fmt::Display for LexError {
7171
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
7272
f.write_str("lex error")
7373
}
7474
}
7575

76-
#[stable(feature = "proc_macro_lib", since = "1.15.0")]
76+
#[stable(feature = "proc_macro_lexerror_impls", since = "1.44.0")]
7777
impl error::Error for LexError {}
7878

7979
#[stable(feature = "proc_macro_lib", since = "1.15.0")]

0 commit comments

Comments
 (0)