File tree 3 files changed +6
-6
lines changed
src/test/ui/consts/miri_unleashed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ help: skipping check for `const_mut_refs` feature
21
21
|
22
22
LL | &mut *(box 0)
23
23
| ^^^^^^^^^^^^^
24
- help: skipping check for `const_mut_refs` feature
24
+ help: skipping check that does not even have a feature gate
25
25
--> $DIR/box.rs:10:5
26
26
|
27
27
LL | &mut *(box 0)
Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ LL | *OH_YES = 99;
6
6
7
7
warning: skipping const checks
8
8
|
9
- help: skipping check for `const_mut_refs` feature
9
+ help: skipping check that does not even have a feature gate
10
10
--> $DIR/mutable_references.rs:9:26
11
11
|
12
12
LL | static FOO: &&mut u32 = &&mut 42;
13
13
| ^^^^^^^
14
- help: skipping check for `const_mut_refs` feature
14
+ help: skipping check that does not even have a feature gate
15
15
--> $DIR/mutable_references.rs:13:23
16
16
|
17
17
LL | static BAR: &mut () = &mut ();
18
18
| ^^^^^^^
19
- help: skipping check for `const_mut_refs` feature
19
+ help: skipping check that does not even have a feature gate
20
20
--> $DIR/mutable_references.rs:18:28
21
21
|
22
22
LL | static BOO: &mut Foo<()> = &mut Foo(());
@@ -26,7 +26,7 @@ help: skipping check that does not even have a feature gate
26
26
|
27
27
LL | x: &UnsafeCell::new(42),
28
28
| ^^^^^^^^^^^^^^^^^^^^
29
- help: skipping check for `const_mut_refs` feature
29
+ help: skipping check that does not even have a feature gate
30
30
--> $DIR/mutable_references.rs:30:27
31
31
|
32
32
LL | static OH_YES: &mut i32 = &mut 42;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ help: skipping check that does not even have a feature gate
30
30
|
31
31
LL | const SNEAKY: &dyn Sync = &Synced { x: UnsafeCell::new(42) };
32
32
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33
- help: skipping check for `const_mut_refs` feature
33
+ help: skipping check that does not even have a feature gate
34
34
--> $DIR/mutable_references_err.rs:30:25
35
35
|
36
36
LL | const BLUNT: &mut i32 = &mut 42;
You can’t perform that action at this time.
0 commit comments