Commit 9e6d80d
committed
Auto merge of #161338 - jhpratt:rollup-gDOZoei, r=jhpratt
Rollup of 18 pull requests
Successful merges:
- rust-lang/rust#154210 (fix: fix the capture behavior of `if let` in closures)
- rust-lang/rust#156176 (Initial implementation of `FnPtr` trait)
- rust-lang/rust#160767 (Unify E0117 foreign-trait label for ADT/primitive types with existing Slice/Array/Tuple handling)
- rust-lang/rust#161297 (std: use UNIX's `Instant` and `SystemTime` on Hermit)
- rust-lang/rust#160489 (Adding diagnostic item markers for multiple fs functions and structs)
- rust-lang/rust#160643 (Require windowed (and exception) for Xtensa ABI)
- rust-lang/rust#161088 (suppress projection errors already covered by a trait error)
- rust-lang/rust#161114 (Remove fields from TypeKind: Struct, Enum, Union and Tuple)
- rust-lang/rust#161115 (Assorted allocator nitpicks)
- rust-lang/rust#161220 (bootstrap: Allow `./x fix --allow-dirty`)
- rust-lang/rust#161296 (Enable overflow checks in `rustc_thread_pool`)
- rust-lang/rust#161298 (remove rustc_error_messages dependency)
- rust-lang/rust#161304 (Rename test so it matches the issue)
- rust-lang/rust#161309 (`allow(non_camel_case_types)` in `minicore.rs`)
- rust-lang/rust#161315 (Relax codgen test variable regex)
- rust-lang/rust#161318 (Doc: clarify how `Read::bytes` handling Interrupted errors)
- rust-lang/rust#161321 (Update books)
- rust-lang/rust#161335 ([compiletest] Use the correct rustc lib directory for query_rustc_output)4 files changed
Lines changed: 90 additions & 0 deletions
File tree
- tests/fail/match/closures
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments