]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/auto-ref-slice-plus-ref.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / auto-ref-slice-plus-ref.stderr
index f62ac84a185a328a51adb51dff37b844c3af4a92..ab57fec0e73378a1a2b091c0caac9449228c9cbe 100644 (file)
@@ -1,5 +1,5 @@
 error[E0599]: no method named `test_mut` found for type `std::vec::Vec<{integer}>` in the current scope
-  --> $DIR/auto-ref-slice-plus-ref.rs:18:7
+  --> $DIR/auto-ref-slice-plus-ref.rs:7:7
    |
 LL |     a.test_mut(); //~ ERROR no method named `test_mut` found
    |       ^^^^^^^^
@@ -10,7 +10,7 @@ LL |     a.test_mut(); //~ ERROR no method named `test_mut` found
    = help: did you mean `get_mut`?
 
 error[E0599]: no method named `test` found for type `std::vec::Vec<{integer}>` in the current scope
-  --> $DIR/auto-ref-slice-plus-ref.rs:19:7
+  --> $DIR/auto-ref-slice-plus-ref.rs:8:7
    |
 LL |     a.test(); //~ ERROR no method named `test` found
    |       ^^^^
@@ -20,7 +20,7 @@ LL |     a.test(); //~ ERROR no method named `test` found
            candidate #1: `MyIter`
 
 error[E0599]: no method named `test` found for type `[{integer}; 1]` in the current scope
-  --> $DIR/auto-ref-slice-plus-ref.rs:21:11
+  --> $DIR/auto-ref-slice-plus-ref.rs:10:11
    |
 LL |     ([1]).test(); //~ ERROR no method named `test` found
    |           ^^^^
@@ -30,7 +30,7 @@ LL |     ([1]).test(); //~ ERROR no method named `test` found
            candidate #1: `MyIter`
 
 error[E0599]: no method named `test` found for type `&[{integer}; 1]` in the current scope
-  --> $DIR/auto-ref-slice-plus-ref.rs:22:12
+  --> $DIR/auto-ref-slice-plus-ref.rs:11:12
    |
 LL |     (&[1]).test(); //~ ERROR no method named `test` found
    |            ^^^^