File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 58
58
thumbv6m-none-eabi,
59
59
x86_64-pc-windows-gnu,
60
60
]
61
- channel : [1.63 .0, nightly]
61
+ channel : [1.72 .0, nightly]
62
62
include :
63
63
- os : macos-latest
64
64
target : x86_64-apple-darwin
@@ -68,10 +68,10 @@ jobs:
68
68
channel : nightly
69
69
- os : macos-latest
70
70
target : x86_64-apple-darwin
71
- channel : 1.63 .0
71
+ channel : 1.72 .0
72
72
- os : windows-latest
73
73
target : x86_64-pc-windows-msvc
74
- channel : 1.63 .0
74
+ channel : 1.72 .0
75
75
- os : ubuntu-latest
76
76
target : x86_64-unknown-linux-gnu
77
77
channel : beta
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ if [ "${CHANNEL}" = "nightly" ]; then
16
16
FEATURES=" ${FEATURES} ,nightly"
17
17
export RUSTFLAGS=" $RUSTFLAGS -D warnings"
18
18
fi
19
- if [ " ${CHANNEL} " = " 1.63.0" ]; then
20
- cargo update --package allocator-api2 --precise 0.2.9
21
- fi
22
19
23
20
CARGO=cargo
24
21
if [ " ${CROSS} " = " 1" ]; then
Original file line number Diff line number Diff line change 37
37
#![ warn( missing_docs) ]
38
38
#![ warn( rust_2018_idioms) ]
39
39
#![ cfg_attr( feature = "nightly" , warn( fuzzy_provenance_casts) ) ]
40
+ #![ cfg_attr( feature = "nightly" , allow( internal_features) ) ]
40
41
41
42
#[ cfg( test) ]
42
43
#[ macro_use]
Original file line number Diff line number Diff line change @@ -6805,7 +6805,7 @@ mod test_map {
6805
6805
assert_eq ! ( m2. len( ) , 2 ) ;
6806
6806
}
6807
6807
6808
- thread_local ! { static DROP_VECTOR : RefCell <Vec <i32 >> = RefCell :: new( Vec :: new( ) ) }
6808
+ thread_local ! { static DROP_VECTOR : RefCell <Vec <i32 >> = const { RefCell :: new( Vec :: new( ) ) } }
6809
6809
6810
6810
#[ derive( Hash , PartialEq , Eq ) ]
6811
6811
struct Droppable {
@@ -8524,7 +8524,7 @@ mod test_map {
8524
8524
#[ test]
8525
8525
#[ should_panic = "panic in clone" ]
8526
8526
fn test_clone_from_memory_leaks ( ) {
8527
- use :: alloc:: vec:: Vec ;
8527
+ use alloc:: vec:: Vec ;
8528
8528
8529
8529
struct CheckedClone {
8530
8530
panic_in_clone : bool ,
Original file line number Diff line number Diff line change @@ -2820,7 +2820,7 @@ mod test_set {
2820
2820
assert_eq ! ( last_i, 49 ) ;
2821
2821
}
2822
2822
2823
- for _ in & s {
2823
+ if !s . is_empty ( ) {
2824
2824
panic ! ( "s should be empty!" ) ;
2825
2825
}
2826
2826
@@ -2834,6 +2834,7 @@ mod test_set {
2834
2834
use core:: hash;
2835
2835
2836
2836
#[ derive( Debug ) ]
2837
+ #[ allow( dead_code) ]
2837
2838
struct Foo ( & ' static str , i32 ) ;
2838
2839
2839
2840
impl PartialEq for Foo {
You can’t perform that action at this time.
0 commit comments