Skip to content

Commit 88da279

Browse files
committed
--bless mod-static-with-const-fn.stderr
1 parent f65b630 commit 88da279

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
2-
--> $DIR/mod-static-with-const-fn.rs:27:6
3-
|
4-
LL | *FOO.0.get() = 5;
5-
| ^^^^^^^^^^^
6-
71
error[E0658]: statements in statics are unstable (see issue #48821)
82
--> $DIR/mod-static-with-const-fn.rs:27:5
93
|
@@ -12,7 +6,6 @@ LL | *FOO.0.get() = 5;
126
|
137
= help: add #![feature(const_let)] to the crate attributes to enable
148

15-
error: aborting due to 2 previous errors
9+
error: aborting due to previous error
1610

17-
Some errors occurred: E0015, E0658.
18-
For more information about an error, try `rustc --explain E0015`.
11+
For more information about this error, try `rustc --explain E0658`.

0 commit comments

Comments
 (0)