fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: usage of ref pattern 2 --> $DIR/ref_patterns.rs:8:14 3 | 4LL | Some(ref opt) => {}, 5 | ^^^^^^^ 6 | 7 = help: consider using `&` for clarity instead 8 = note: `-D clippy::ref-patterns` implied by `-D warnings` 9 = help: to override `-D warnings` add `#[allow(clippy::ref_patterns)]` 10 11error: usage of ref pattern 12 --> $DIR/ref_patterns.rs:15:9 13 | 14LL | let ref y = x; 15 | ^^^^^ 16 | 17 = help: consider using `&` for clarity instead 18 19error: usage of ref pattern 20 --> $DIR/ref_patterns.rs:19:21 21 | 22LL | fn use_in_parameter(ref x: i32) {} 23 | ^^^^^ 24 | 25 = help: consider using `&` for clarity instead 26 27error: aborting due to 3 previous errors 28