]> git.lizzy.rs Git - rust.git/commitdiff
--bless mod-static-with-const-fn.stderr
authorMazdak Farrokhzad <twingoow@gmail.com>
Tue, 23 Oct 2018 02:59:13 +0000 (04:59 +0200)
committerMazdak Farrokhzad <twingoow@gmail.com>
Sat, 10 Nov 2018 00:10:07 +0000 (01:10 +0100)
src/test/ui/consts/const-eval/mod-static-with-const-fn.stderr

index 8eaed1dcab116b099a8d952bd4475e17c0ec73f7..23bd30b641225fbed06580dd1374929d6276a320 100644 (file)
@@ -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
    |
@@ -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`.