]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/toplevel_ref_arg_non_rustfix.stderr
Merge branch 'master' into hooks
[rust.git] / src / tools / clippy / tests / ui / toplevel_ref_arg_non_rustfix.stderr
1 error: `ref` directly on a function argument is ignored. Consider using a reference type instead.
2   --> $DIR/toplevel_ref_arg_non_rustfix.rs:4:15
3    |
4 LL | fn the_answer(ref mut x: u8) {
5    |               ^^^^^^^^^
6    |
7    = note: `-D clippy::toplevel-ref-arg` implied by `-D warnings`
8
9 error: aborting due to previous error
10