Skip to content

Commit

Permalink
--bless mod-static-with-const-fn.stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Nov 10, 2018
1 parent f65b630 commit 88da279
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/test/ui/consts/const-eval/mod-static-with-const-fn.stderr
@@ -1,9 +1,3 @@
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
--> $DIR/mod-static-with-const-fn.rs:27:6
|
LL | *FOO.0.get() = 5;
| ^^^^^^^^^^^

error[E0658]: statements in statics are unstable (see issue #48821)
--> $DIR/mod-static-with-const-fn.rs:27:5
|
Expand All @@ -12,7 +6,6 @@ LL | *FOO.0.get() = 5;
|
= help: add #![feature(const_let)] to the crate attributes to enable

error: aborting due to 2 previous errors
error: aborting due to previous error

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

0 comments on commit 88da279

Please sign in to comment.