fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0282]: type annotations needed for `&_` 2 --> $DIR/slice-patterns-ambiguity.rs:25:9 3 | 4LL | let &[a, b] = Zeroes.into() else { 5 | ^^^^^^^ 6 | 7help: consider giving this pattern a type, where the placeholders `_` are specified 8 | 9LL | let &[a, b]: &_ = Zeroes.into() else { 10 | ++++ 11 12error[E0282]: type annotations needed 13 --> $DIR/slice-patterns-ambiguity.rs:32:29 14 | 15LL | if let &[a, b] = Zeroes.into() { 16 | ------ ^^^^ 17 | | 18 | type must be known at this point 19 | 20help: try using a fully qualified path to specify the expected types 21 | 22LL | if let &[a, b] = <Zeroes as Into<&_>>::into(Zeroes) { 23 | +++++++++++++++++++++++++++ ~ 24 25error[E0282]: type annotations needed 26 --> $DIR/slice-patterns-ambiguity.rs:39:29 27 | 28LL | if let &[a, b] = Zeroes.into() { 29 | ------ ^^^^ 30 | | 31 | type must be known at this point 32 | 33help: try using a fully qualified path to specify the expected types 34 | 35LL | if let &[a, b] = <Zeroes as Into<&_>>::into(Zeroes) { 36 | +++++++++++++++++++++++++++ ~ 37 38error: aborting due to 3 previous errors 39 40For more information about this error, try `rustc --explain E0282`.