@@ -5,37 +5,31 @@ LL | static FOO: &&mut u32 = &&mut 42;
55 | ^^^^^^^
66
77warning: skipping const checks
8- --> $DIR/mutable_references.rs:8:25
9- |
10- LL | static FOO: &&mut u32 = &&mut 42;
11- | ^^^^^^^^
12-
13- warning: skipping const checks
14- --> $DIR/mutable_references.rs:12:23
8+ --> $DIR/mutable_references.rs:11:23
159 |
1610LL | static BAR: &mut () = &mut ();
1711 | ^^^^^^^
1812
1913warning: skipping const checks
20- --> $DIR/mutable_references.rs:17 :28
14+ --> $DIR/mutable_references.rs:16 :28
2115 |
2216LL | static BOO: &mut Foo<()> = &mut Foo(());
2317 | ^^^^^^^^^^^^
2418
2519warning: skipping const checks
26- --> $DIR/mutable_references.rs:27 :8
20+ --> $DIR/mutable_references.rs:26 :8
2721 |
2822LL | x: &UnsafeCell::new(42),
2923 | ^^^^^^^^^^^^^^^^^^^^
3024
3125warning: skipping const checks
32- --> $DIR/mutable_references.rs:31 :27
26+ --> $DIR/mutable_references.rs:30 :27
3327 |
3428LL | static OH_YES: &mut i32 = &mut 42;
3529 | ^^^^^^^
3630
3731error[E0594]: cannot assign to `*OH_YES`, as `OH_YES` is an immutable static item
38- --> $DIR/mutable_references.rs:38 :5
32+ --> $DIR/mutable_references.rs:37 :5
3933 |
4034LL | *OH_YES = 99;
4135 | ^^^^^^^^^^^^ cannot assign
0 commit comments