]> git.lizzy.rs Git - rust.git/blob - tests/ui/unnecessary_ref.stderr
Auto merge of #3635 - matthiaskrgr:revert_random_state_3603, r=xfix
[rust.git] / tests / ui / unnecessary_ref.stderr
1 error: Creating a reference that is immediately dereferenced.
2   --> $DIR/unnecessary_ref.rs:22:17
3    |
4 LL |     let inner = (&outer).inner;
5    |                 ^^^^^^^^ help: try this: `outer`
6    |
7 note: lint level defined here
8   --> $DIR/unnecessary_ref.rs:19:8
9    |
10 LL | #[deny(clippy::ref_in_deref)]
11    |        ^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14