diff options
| author | David Tolnay <dtolnay@gmail.com> | 2021-12-29 12:51:10 -0800 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2021-12-29 13:02:14 -0800 |
| commit | bc1a1ff3c86a12555e8cb430fd8ed608201ccb14 (patch) | |
| tree | 500949216a295eaef390c62bfb3af9702829693b /src/test/ui/half-open-range-patterns | |
| parent | df96fb166f59431e3de443835e50d5b8a7a4adb0 (diff) | |
| download | rust-bc1a1ff3c86a12555e8cb430fd8ed608201ccb14.tar.gz rust-bc1a1ff3c86a12555e8cb430fd8ed608201ccb14.zip | |
Fix whitespace in pretty printed PatKind::Range
Diffstat (limited to 'src/test/ui/half-open-range-patterns')
| -rw-r--r-- | src/test/ui/half-open-range-patterns/half-open-range-pats-ref-ambiguous-interp.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/half-open-range-patterns/half-open-range-pats-ref-ambiguous-interp.stderr b/src/test/ui/half-open-range-patterns/half-open-range-pats-ref-ambiguous-interp.stderr index a5f7c390627..93b73c57e9b 100644 --- a/src/test/ui/half-open-range-patterns/half-open-range-pats-ref-ambiguous-interp.stderr +++ b/src/test/ui/half-open-range-patterns/half-open-range-pats-ref-ambiguous-interp.stderr @@ -2,7 +2,7 @@ error: the range pattern here has ambiguous interpretation --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:8:10 | LL | &0.. | _ => {} - | ^^^ help: add parentheses to clarify the precedence: `(0 ..)` + | ^^^ help: add parentheses to clarify the precedence: `(0..)` error[E0586]: inclusive range with no end --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:10:11 @@ -16,7 +16,7 @@ error: the range pattern here has ambiguous interpretation --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:10:10 | LL | &0..= | _ => {} - | ^^^^ help: add parentheses to clarify the precedence: `(0 ..=)` + | ^^^^ help: add parentheses to clarify the precedence: `(0..=)` error[E0586]: inclusive range with no end --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:13:11 |
