1
Fork 0

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
This commit is contained in:
Ralf Jung 2020-05-31 12:03:22 +02:00 committed by GitHub
commit 3bbb475f00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 112 additions and 68 deletions

View file

@ -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)]