Skip to content

Commit 9ccd5c5

Browse files
ICH: Add missing annotations for struct constructor expr test case.
1 parent 5c3a69e commit 9ccd5c5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: src/test/incremental/hashes/struct_constructors.rs

+12
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@ mod change_constructor_path_indirectly_regular_struct {
202202
#[cfg(not(cfail1))]
203203
use super::RegularStruct2 as Struct;
204204

205+
#[rustc_dirty(label="Hir", cfg="cfail2")]
206+
#[rustc_clean(label="Hir", cfg="cfail3")]
207+
#[rustc_dirty(label="HirBody", cfg="cfail2")]
208+
#[rustc_clean(label="HirBody", cfg="cfail3")]
209+
#[rustc_metadata_dirty(cfg="cfail2")]
210+
#[rustc_metadata_clean(cfg="cfail3")]
205211
fn function() -> Struct {
206212
Struct {
207213
x: 0,
@@ -262,6 +268,12 @@ mod change_constructor_path_indirectly_tuple_struct {
262268
#[cfg(not(cfail1))]
263269
use super::TupleStruct2 as Struct;
264270

271+
#[rustc_dirty(label="Hir", cfg="cfail2")]
272+
#[rustc_clean(label="Hir", cfg="cfail3")]
273+
#[rustc_dirty(label="HirBody", cfg="cfail2")]
274+
#[rustc_clean(label="HirBody", cfg="cfail3")]
275+
#[rustc_metadata_dirty(cfg="cfail2")]
276+
#[rustc_metadata_clean(cfg="cfail3")]
265277
fn function() -> Struct {
266278
Struct(0, 1, 2)
267279
}

0 commit comments

Comments
 (0)