Skip to content

Commit 1ca8ce9

Browse files
committed
TryFrom destabilization fixups
1 parent c04b020 commit 1ca8ce9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/libstd_unicode/char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub use core::char::{EscapeDebug, EscapeDefault, EscapeUnicode};
4242
pub use core::char::ParseCharError;
4343

4444
// unstable re-exports
45-
#[stable(feature = "try_from", since = "1.26.0")]
45+
#[unstable(feature = "try_from", issue = "33417")]
4646
pub use core::char::CharTryFromError;
4747
#[unstable(feature = "decode_utf8", issue = "33906")]
4848
pub use core::char::{DecodeUtf8, decode_utf8};

src/libstd_unicode/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#![feature(non_exhaustive)]
4141
#![feature(staged_api)]
4242
#![feature(unboxed_closures)]
43+
#![feature(try_from)]
4344

4445
mod bool_trie;
4546
mod tables;

0 commit comments

Comments
 (0)