]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/enable-unstable-lib-feature.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / enable-unstable-lib-feature.stderr
index 20b2eb51fcb7c8288e1e903978b38c5d481794b6..51cfe7beade2dc467ffb4845a8e1f1f81585b68e 100644 (file)
@@ -1,11 +1,11 @@
-error: function `BOGUS` should have a snake case name such as `bogus`
-  --> $DIR/enable-unstable-lib-feature.rs:22:1
+error: function `BOGUS` should have a snake case name
+  --> $DIR/enable-unstable-lib-feature.rs:12:8
    |
 LL | pub fn BOGUS() { } //~ ERROR
-   | ^^^^^^^^^^^^^^^^^^
+   |        ^^^^^ help: convert the identifier to snake case: `bogus`
    |
 note: lint level defined here
-  --> $DIR/enable-unstable-lib-feature.rs:16:9
+  --> $DIR/enable-unstable-lib-feature.rs:6:9
    |
 LL | #![deny(non_snake_case)] // To trigger a hard error
    |         ^^^^^^^^^^^^^^