diff options
| author | bors <bors@rust-lang.org> | 2020-04-23 14:40:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-04-23 14:40:20 +0000 |
| commit | 413a12909f3b149af17d75268ed4a136afb82c36 (patch) | |
| tree | 8e0197c08f480cf9e67e32e05b25afa61fe043c8 /src/test/incremental | |
| parent | 66f7a5d92f5adb9053bf66e0bf8f6d31d404870d (diff) | |
| parent | 47e2687a4eaf190ebd7eebdee7c32e839a6f14cf (diff) | |
Auto merge of #71467 - Dylan-DPC:rollup-d1os8ug, r=Dylan-DPC
Rollup of 6 pull requests Successful merges: - #71005 (Reading from the return place is fine) - #71198 (Const check/promotion cleanup and sanity assertion) - #71396 (Improve E0308 error message wording again) - #71452 (Remove outdated reference to interpreter snapshotting) - #71454 (Inline some function docs in `core::ptr`) - #71461 (Improve E0567 explanation) Failed merges: r? @ghost
Diffstat (limited to 'src/test/incremental')
| -rw-r--r-- | src/test/incremental/hashes/enum_constructors.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/incremental/hashes/enum_constructors.rs b/src/test/incremental/hashes/enum_constructors.rs index 99c50f7e173..2c07cbcb205 100644 --- a/src/test/incremental/hashes/enum_constructors.rs +++ b/src/test/incremental/hashes/enum_constructors.rs @@ -274,14 +274,14 @@ pub enum Clike2 { // Change constructor path (C-like) -------------------------------------- #[cfg(cfail1)] pub fn change_constructor_path_c_like() { - let _ = Clike::B; + let _x = Clike::B; } #[cfg(not(cfail1))] #[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,mir_built,typeck_tables_of")] #[rustc_clean(cfg="cfail3")] pub fn change_constructor_path_c_like() { - let _ = Clike2::B; + let _x = Clike2::B; } @@ -289,14 +289,14 @@ pub fn change_constructor_path_c_like() { // Change constructor variant (C-like) -------------------------------------- #[cfg(cfail1)] pub fn change_constructor_variant_c_like() { - let _ = Clike::A; + let _x = Clike::A; } #[cfg(not(cfail1))] #[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,mir_built")] #[rustc_clean(cfg="cfail3")] pub fn change_constructor_variant_c_like() { - let _ = Clike::C; + let _x = Clike::C; } |
