diff options
| author | bors <bors@rust-lang.org> | 2019-05-10 22:58:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-05-10 22:58:52 +0000 |
| commit | acc7e652f874bd7d6cb008d35663d9a0e250d8a7 (patch) | |
| tree | eaae830f43ac87c079168415e8c99e605912d2dc /src/test/incremental | |
| parent | d595b113584f8f446957469951fd5d31adc2a44e (diff) | |
| parent | f9cc5a65d24270fac44a7ccf709d7a7efd7b525d (diff) | |
| download | rust-acc7e652f874bd7d6cb008d35663d9a0e250d8a7.tar.gz rust-acc7e652f874bd7d6cb008d35663d9a0e250d8a7.zip | |
Auto merge of #59288 - Centril:hir-if-to-match, r=oli-obk
[let_chains, 1/6] Remove hir::ExprKind::If Per https://github.com/rust-lang/rust/issues/53667#issuecomment-471583239. r? @oli-obk
Diffstat (limited to 'src/test/incremental')
| -rw-r--r-- | src/test/incremental/hashes/if_expressions.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/incremental/hashes/if_expressions.rs b/src/test/incremental/hashes/if_expressions.rs index fba7869af42..6bc7d286e3a 100644 --- a/src/test/incremental/hashes/if_expressions.rs +++ b/src/test/incremental/hashes/if_expressions.rs @@ -94,7 +94,7 @@ pub fn add_else_branch(x: bool) -> u32 { } #[cfg(not(cfail1))] -#[rustc_clean(cfg="cfail2", except="HirBody,typeck_tables_of")] +#[rustc_clean(cfg="cfail2", except="HirBody")] #[rustc_clean(cfg="cfail3")] pub fn add_else_branch(x: bool) -> u32 { let mut ret = 1; @@ -191,7 +191,7 @@ pub fn add_else_branch_if_let(x: Option<u32>) -> u32 { } #[cfg(not(cfail1))] -#[rustc_clean(cfg="cfail2", except="HirBody,typeck_tables_of")] +#[rustc_clean(cfg="cfail2", except="HirBody")] #[rustc_clean(cfg="cfail3")] pub fn add_else_branch_if_let(x: Option<u32>) -> u32 { let mut ret = 1; |
