Fix fallout of making c_str_literals unstable again
This commit is contained in:
parent
13f11301cc
commit
99aa435b70
3 changed files with 4 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#![feature(rustdoc_internals)]
|
||||
#![doc(rust_logo)]
|
||||
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
|
||||
#![cfg_attr(bootstrap, feature(c_str_literals))]
|
||||
#![feature(c_str_literals)]
|
||||
#![feature(exact_size_is_empty)]
|
||||
#![feature(extern_types)]
|
||||
#![feature(hash_raw_entry)]
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@
|
|||
//
|
||||
// Library features (core):
|
||||
// tidy-alphabetical-start
|
||||
#![cfg_attr(bootstrap, feature(c_str_literals))]
|
||||
#![feature(c_str_literals)]
|
||||
#![feature(char_internals)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(core_io_borrowed_buf)]
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
#![feature(assert_matches)]
|
||||
#![feature(control_flow_enum)]
|
||||
#![feature(ascii_char, ascii_char_variants)]
|
||||
#![feature(c_str_literals)]
|
||||
|
||||
extern crate rustc_hir;
|
||||
extern crate rustc_middle;
|
||||
|
|
@ -239,6 +240,7 @@ fn generate_input(path: &str) -> std::io::Result<()> {
|
|||
file,
|
||||
r#"
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(c_str_literals)]
|
||||
use std::intrinsics::type_id;
|
||||
|
||||
static LEN: usize = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue