summary refs log tree commit diff
path: root/src/test/ui/range-inclusive-pattern-precedence.stderr
blob: 99e0d739036b09fea50146b29bd2222ee4de1c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: the range pattern here has ambiguous interpretation
  --> $DIR/range-inclusive-pattern-precedence.rs:23:10
   |
LL |         &10..=15 => {}
   |          ^^^^^^^ help: add parentheses to clarify the precedence: `(10 ..=15)`

error: the range pattern here has ambiguous interpretation
  --> $DIR/range-inclusive-pattern-precedence.rs:32:13
   |
LL |         box 10..=15 => {}
   |             ^^^^^^^ help: add parentheses to clarify the precedence: `(10 ..=15)`

error: aborting due to 2 previous errors