diff options
| author | bors <bors@rust-lang.org> | 2020-06-13 15:50:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-06-13 15:50:56 +0000 |
| commit | 06e47688bf15d0215edbe05b21603062f6d2eb5d (patch) | |
| tree | dea015bf136b986e4e1a93f5c0ee50318095113d /src/test/ui/pattern/usefulness/refutable-pattern-errors.rs | |
| parent | 1fb612bd15bb3ef098fd24c20d0727de573b4410 (diff) | |
| parent | 8d97ccf954582b9040298fb0541aa7380a4db109 (diff) | |
| download | rust-06e47688bf15d0215edbe05b21603062f6d2eb5d.tar.gz rust-06e47688bf15d0215edbe05b21603062f6d2eb5d.zip | |
Auto merge of #73316 - Dylan-DPC:rollup-zgouwou, r=Dylan-DPC
Rollup of 8 pull requests Successful merges: - #72932 (Clarify the behaviour of Pattern when used with methods like str::contains) - #73066 (Querify whether a type has structural equality (Take 2)) - #73194 (Prefer the associated constants for pattern matching error) - #73241 (Add/update comments about MinGW late_link_args) - #73267 (Use the built cargo for cargotest.) - #73290 (Fix links when pinging notification groups) - #73302 (Adjusted some doctests in libcore to use `should_panic`.) - #73308 (pretty/asm.rs should only be tested for x86_64 and not AArch64) Failed merges: r? @ghost
Diffstat (limited to 'src/test/ui/pattern/usefulness/refutable-pattern-errors.rs')
| -rw-r--r-- | src/test/ui/pattern/usefulness/refutable-pattern-errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pattern/usefulness/refutable-pattern-errors.rs b/src/test/ui/pattern/usefulness/refutable-pattern-errors.rs index d4afe17ca74..3ef2ead32cb 100644 --- a/src/test/ui/pattern/usefulness/refutable-pattern-errors.rs +++ b/src/test/ui/pattern/usefulness/refutable-pattern-errors.rs @@ -5,5 +5,5 @@ fn func((1, (Some(1), 2..=3)): (isize, (Option<isize>, isize))) { } fn main() { let (1, (Some(1), 2..=3)) = (1, (None, 2)); - //~^ ERROR refutable pattern in local binding: `(std::i32::MIN..=0i32, _)` and `(2i32..=std::i32::MAX, _)` not covered + //~^ ERROR refutable pattern in local binding: `(i32::MIN..=0i32, _)` and `(2i32..=i32::MAX, _)` not covered } |
