about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-31 12:03:22 +0200
committerGitHub <noreply@github.com>2020-05-31 12:03:22 +0200
commit3bbb475f0048b3ef009e31194c56d5265da65447 (patch)
tree1a5500915564ff8a21c46c280bcf45ed442e840f /src/libstd/lib.rs
parentb6fa392238a459c29a47e2cf824d79a49a8ba039 (diff)
parent0fb6e63c0438ace4ad9d496376af955c0baacf04 (diff)
downloadrust-3bbb475f0048b3ef009e31194c56d5265da65447.tar.gz
rust-3bbb475f0048b3ef009e31194c56d5265da65447.zip
Rollup merge of #72683 - RalfJung:char-debug-check, r=Mark-Simulacrum
from_u32_unchecked: check validity, and fix UB in Wtf8

Fixes https://github.com/rust-lang/rust/issues/72760
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 9ddaa100c0e..d6493454db5 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -247,6 +247,7 @@
 #![feature(cfg_target_has_atomic)]
 #![feature(cfg_target_thread_local)]
 #![feature(char_error_internals)]
+#![feature(char_internals)]
 #![feature(clamp)]
 #![feature(concat_idents)]
 #![feature(const_cstr_unchecked)]