File tree 32 files changed +30
-34
lines changed
32 files changed +30
-34
lines changed Original file line number Diff line number Diff line change @@ -290,9 +290,7 @@ fn main() {
290
290
}
291
291
292
292
// This is required for internal lints.
293
- if stage != "0" {
294
- cmd. arg ( "-Zunstable-options" ) ;
295
- }
293
+ cmd. arg ( "-Zunstable-options" ) ;
296
294
297
295
// Force all crates compiled by this compiler to (a) be unstable and (b)
298
296
// allow the `rustc_private` feature to link to other unstable crates
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use build_helper::output;
13
13
use crate :: Build ;
14
14
15
15
// The version number
16
- pub const CFG_RELEASE_NUM : & str = "1.35 .0" ;
16
+ pub const CFG_RELEASE_NUM : & str = "1.36 .0" ;
17
17
18
18
pub struct GitInfo {
19
19
inner : Option < Info > ,
Original file line number Diff line number Diff line change @@ -1125,8 +1125,6 @@ impl Build {
1125
1125
/// `rust.save-toolstates` in `config.toml`. If unspecified, nothing will be
1126
1126
/// done. The file is updated immediately after this function completes.
1127
1127
pub fn save_toolstate ( & self , tool : & str , state : ToolState ) {
1128
- use std:: io:: { Seek , SeekFrom } ;
1129
-
1130
1128
if let Some ( ref path) = self . config . save_toolstates {
1131
1129
let mut file = t ! ( fs:: OpenOptions :: new( )
1132
1130
. create( true )
Original file line number Diff line number Diff line change 12
12
test( no_crate_inject, attr( deny( warnings) ) ) ) ]
13
13
14
14
#![ deny( rust_2018_idioms) ]
15
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
15
+ #![ deny( internal) ]
16
16
17
17
#![ feature( core_intrinsics) ]
18
18
#![ feature( dropck_eyepatch) ]
Original file line number Diff line number Diff line change 9
9
test( attr( deny( warnings) ) ) ) ]
10
10
11
11
#![ deny( rust_2018_idioms) ]
12
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
12
+ #![ deny( internal) ]
13
13
14
14
#![ feature( nll) ]
15
15
#![ feature( rustc_private) ]
Original file line number Diff line number Diff line change 29
29
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
30
30
31
31
#![ deny( rust_2018_idioms) ]
32
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
32
+ #![ deny( internal) ]
33
33
#![ allow( explicit_outlives_requirements) ]
34
34
35
35
#![ feature( arbitrary_self_types) ]
Original file line number Diff line number Diff line change 1
- #![ cfg_attr ( not ( stage0 ) , allow( usage_of_ty_tykind) ) ]
1
+ #![ allow( usage_of_ty_tykind) ]
2
2
3
3
pub use self :: Variance :: * ;
4
4
pub use self :: AssociatedItemContainer :: * ;
Original file line number Diff line number Diff line change 2
2
#![ feature( rustc_private) ]
3
3
4
4
#![ deny( rust_2018_idioms) ]
5
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
5
+ #![ deny( internal) ]
6
6
7
7
pub mod expand;
8
8
Original file line number Diff line number Diff line change 2
2
3
3
#![ allow( non_camel_case_types) ]
4
4
#![ deny( rust_2018_idioms) ]
5
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
5
+ #![ deny( internal) ]
6
6
7
7
#![ feature( nll) ]
8
8
Original file line number Diff line number Diff line change 14
14
#![ allow( unused_attributes) ]
15
15
#![ allow( dead_code) ]
16
16
#![ deny( rust_2018_idioms) ]
17
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
17
+ #![ deny( internal) ]
18
18
#![ allow( explicit_outlives_requirements) ]
19
19
20
20
#![ recursion_limit="256" ]
Original file line number Diff line number Diff line change 16
16
#![ recursion_limit="256" ]
17
17
18
18
#![ deny( rust_2018_idioms) ]
19
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
19
+ #![ deny( internal) ]
20
20
21
21
#[ macro_use]
22
22
extern crate rustc;
Original file line number Diff line number Diff line change 17
17
#![ recursion_limit="256" ]
18
18
19
19
#![ deny( rust_2018_idioms) ]
20
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
20
+ #![ deny( internal) ]
21
21
22
22
pub extern crate getopts;
23
23
#[ cfg( unix) ]
Original file line number Diff line number Diff line change 6
6
#![ feature( nll) ]
7
7
#![ feature( optin_builtin_traits) ]
8
8
#![ deny( rust_2018_idioms) ]
9
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
9
+ #![ deny( internal) ]
10
10
11
11
#[ allow( unused_extern_crates) ]
12
12
extern crate serialize as rustc_serialize; // used by deriving
Original file line number Diff line number Diff line change 8
8
#![ recursion_limit="256" ]
9
9
10
10
#![ deny( rust_2018_idioms) ]
11
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
11
+ #![ deny( internal) ]
12
12
13
13
#[ macro_use] extern crate rustc;
14
14
#[ allow( unused_extern_crates) ]
Original file line number Diff line number Diff line change 7
7
#![ cfg_attr( unix, feature( libc) ) ]
8
8
9
9
#![ deny( rust_2018_idioms) ]
10
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
10
+ #![ deny( internal) ]
11
11
12
12
#![ allow( unused_imports) ]
13
13
Original file line number Diff line number Diff line change 20
20
#![ recursion_limit="256" ]
21
21
22
22
#![ deny( rust_2018_idioms) ]
23
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
23
+ #![ deny( internal) ]
24
24
25
25
#[ macro_use]
26
26
extern crate rustc;
Original file line number Diff line number Diff line change 14
14
#![ recursion_limit="256" ]
15
15
16
16
#![ deny( rust_2018_idioms) ]
17
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
17
+ #![ deny( internal) ]
18
18
19
19
extern crate libc;
20
20
#[ allow( unused_extern_crates) ]
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Rust MIR: a lowered representation of Rust. Also: an experiment!
28
28
#![ recursion_limit="256" ]
29
29
30
30
#![ deny( rust_2018_idioms) ]
31
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
31
+ #![ deny( internal) ]
32
32
#![ allow( explicit_outlives_requirements) ]
33
33
34
34
#[ macro_use] extern crate log;
Original file line number Diff line number Diff line change 12
12
#![ recursion_limit="256" ]
13
13
14
14
#![ deny( rust_2018_idioms) ]
15
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
15
+ #![ deny( internal) ]
16
16
17
17
#[ macro_use]
18
18
extern crate rustc;
Original file line number Diff line number Diff line change 1
1
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
2
2
3
3
#![ deny( rust_2018_idioms) ]
4
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
4
+ #![ deny( internal) ]
5
5
6
6
#![ feature( nll) ]
7
7
#![ feature( rustc_diagnostic_macros) ]
Original file line number Diff line number Diff line change 9
9
#![ recursion_limit="256" ]
10
10
11
11
#![ deny( rust_2018_idioms) ]
12
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
12
+ #![ deny( internal) ]
13
13
14
14
pub use rustc:: hir:: def:: { Namespace , PerNS } ;
15
15
Original file line number Diff line number Diff line change 2
2
#![ feature( custom_attribute) ]
3
3
#![ feature( nll) ]
4
4
#![ deny( rust_2018_idioms) ]
5
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
5
+ #![ deny( internal) ]
6
6
#![ allow( unused_attributes) ]
7
7
8
8
#![ recursion_limit="256" ]
Original file line number Diff line number Diff line change 16
16
#![ feature( step_trait) ]
17
17
18
18
#![ deny( rust_2018_idioms) ]
19
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
19
+ #![ deny( internal) ]
20
20
21
21
#[ macro_use] extern crate log;
22
22
Original file line number Diff line number Diff line change 2
2
//! the guts are broken up into modules; see the comments in those modules.
3
3
4
4
#![ deny( rust_2018_idioms) ]
5
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
5
+ #![ deny( internal) ]
6
6
7
7
#![ feature( crate_visibility_modifier) ]
8
8
#![ feature( in_band_lifetimes) ]
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ This API is completely unstable and subject to change.
71
71
#![ recursion_limit="256" ]
72
72
73
73
#![ deny( rust_2018_idioms) ]
74
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
74
+ #![ deny( internal) ]
75
75
#![ allow( explicit_outlives_requirements) ]
76
76
77
77
#[ macro_use] extern crate log;
Original file line number Diff line number Diff line change 1
1
#![ deny( rust_2018_idioms) ]
2
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
2
+ #![ deny( internal) ]
3
3
4
4
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/" ,
5
5
html_playground_url = "https://play.rust-lang.org/" ) ]
Original file line number Diff line number Diff line change 8
8
test( attr( deny( warnings) ) ) ) ]
9
9
10
10
#![ deny( rust_2018_idioms) ]
11
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
11
+ #![ deny( internal) ]
12
12
13
13
#![ feature( crate_visibility_modifier) ]
14
14
#![ feature( label_break_value) ]
Original file line number Diff line number Diff line change 3
3
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
4
4
5
5
#![ deny( rust_2018_idioms) ]
6
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
6
+ #![ deny( internal) ]
7
7
8
8
#![ feature( in_band_lifetimes) ]
9
9
#![ feature( proc_macro_diagnostic) ]
Original file line number Diff line number Diff line change 7
7
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
8
8
9
9
#![ deny( rust_2018_idioms) ]
10
- #![ cfg_attr ( not ( stage0 ) , deny( internal) ) ]
10
+ #![ deny( internal) ]
11
11
12
12
#![ feature( const_fn) ]
13
13
#![ feature( crate_visibility_modifier) ]
Original file line number Diff line number Diff line change 12
12
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
13
13
# `0.x.0` for Cargo where they were released on `date`.
14
14
15
- date: 2019-03-20
15
+ date: 2019-04-11
16
16
rustc: beta
17
17
cargo: beta
18
18
Original file line number Diff line number Diff line change @@ -523,6 +523,7 @@ pub fn run_tests(config: &Config) {
523
523
524
524
pub fn test_opts ( config : & Config ) -> test:: TestOpts {
525
525
test:: TestOpts {
526
+ exclude_should_panic : false ,
526
527
filter : config. filter . clone ( ) ,
527
528
filter_exact : config. filter_exact ,
528
529
run_ignored : if config. run_ignored {
Original file line number Diff line number Diff line change 7
7
#[ cfg( any( target_os = "macos" , target_os = "ios" ) ) ]
8
8
#[ allow( non_camel_case_types) ]
9
9
pub unsafe fn raise_fd_limit ( ) {
10
- use libc;
11
10
use std:: cmp;
12
11
use std:: io;
13
12
use std:: mem:: size_of_val;
You can’t perform that action at this time.
0 commit comments