File tree 11 files changed +13
-0
lines changed
librustc_cratesio_shim/src
11 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 20
20
html_playground_url = "https://play.rust-lang.org/" ,
21
21
test( attr( deny( warnings) ) ) ) ]
22
22
23
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
24
+
23
25
pub use self :: Piece :: * ;
24
26
pub use self :: Position :: * ;
25
27
pub use self :: Alignment :: * ;
Original file line number Diff line number Diff line change 24
24
25
25
#![ feature( core_intrinsics) ]
26
26
#![ feature( libc) ]
27
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
27
28
#![ feature( panic_runtime) ]
28
29
#![ feature( staged_api) ]
29
30
#![ feature( rustc_attrs) ]
Original file line number Diff line number Diff line change 34
34
#![ feature( core_intrinsics) ]
35
35
#![ feature( lang_items) ]
36
36
#![ feature( libc) ]
37
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
37
38
#![ feature( panic_unwind) ]
38
39
#![ feature( raw) ]
39
40
#![ feature( staged_api) ]
Original file line number Diff line number Diff line change 45
45
html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
46
46
#![ forbid( unsafe_code) ]
47
47
48
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
48
49
#![ feature( try_from) ]
49
50
// See librustc_cratesio_shim/Cargo.toml for a comment explaining this.
50
51
#[ allow( unused_extern_crates) ]
Original file line number Diff line number Diff line change 11
11
// See Cargo.toml for a comment explaining this crate.
12
12
#![ allow( unused_extern_crates) ]
13
13
14
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
15
+
14
16
extern crate bitflags;
15
17
extern crate log;
Original file line number Diff line number Diff line change 20
20
21
21
#![ feature( box_syntax) ]
22
22
#![ cfg_attr( unix, feature( libc) ) ]
23
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
23
24
#![ feature( option_replace) ]
24
25
#![ feature( quote) ]
25
26
#![ feature( rustc_diagnostic_macros) ]
Original file line number Diff line number Diff line change 14
14
html_favicon_url = "https://doc.rust-lang.org/favicon.ico" ,
15
15
html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
16
16
17
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
17
18
#![ feature( specialization) ]
18
19
19
20
#![ recursion_limit="256" ]
Original file line number Diff line number Diff line change 23
23
24
24
#![ feature( box_syntax) ]
25
25
#![ feature( const_fn) ]
26
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
26
27
#![ feature( slice_patterns) ]
27
28
28
29
#[ macro_use]
Original file line number Diff line number Diff line change 21
21
#![ feature( const_fn) ]
22
22
#![ feature( crate_visibility_modifier) ]
23
23
#![ feature( custom_attribute) ]
24
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
24
25
#![ feature( non_exhaustive) ]
25
26
#![ feature( optin_builtin_traits) ]
26
27
#![ feature( specialization) ]
Original file line number Diff line number Diff line change 50
50
#![ cfg_attr( windows, feature( libc) ) ]
51
51
// Handle rustfmt skips
52
52
#![ feature( custom_attribute) ]
53
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
53
54
#![ allow( unused_attributes) ]
54
55
55
56
use std:: io:: prelude:: * ;
Original file line number Diff line number Diff line change 13
13
14
14
#![ feature( cfg_target_vendor) ]
15
15
#![ feature( link_cfg) ]
16
+ #![ cfg_attr( not( stage0) , feature( nll) ) ]
16
17
#![ feature( staged_api) ]
17
18
#![ feature( unwind_attributes) ]
18
19
#![ feature( static_nobundle) ]
You can’t perform that action at this time.
0 commit comments