]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/unnecessary_ref.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / unnecessary_ref.stderr
index 863a6389e7fc99b702d7eb6fee8ead3c9a6eaaa1..89adca3b1ad7539902cd13a6f4c055827fc63053 100644 (file)
@@ -1,11 +1,11 @@
 error: Creating a reference that is immediately dereferenced.
-  --> $DIR/unnecessary_ref.rs:22:17
+  --> $DIR/unnecessary_ref.rs:13:17
    |
 LL |     let inner = (&outer).inner;
    |                 ^^^^^^^^ help: try this: `outer`
    |
 note: lint level defined here
-  --> $DIR/unnecessary_ref.rs:19:8
+  --> $DIR/unnecessary_ref.rs:10:8
    |
 LL | #[deny(clippy::ref_in_deref)]
    |        ^^^^^^^^^^^^^^^^^^^^