diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-02-09 14:12:22 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-09 14:12:22 +0900 |
| commit | e5ac08779b8cca9c25baaaec3335cacd1c2057ab (patch) | |
| tree | 10e1e933a3d63f4aa824e1b523b225fa1ddd57ad /src/test/incremental | |
| parent | 56094651b8d07e672a32b2a91206f922c71ed41d (diff) | |
| parent | 710662c8ac88d18ff252718012a69ff96b5343e8 (diff) | |
| download | rust-e5ac08779b8cca9c25baaaec3335cacd1c2057ab.tar.gz rust-e5ac08779b8cca9c25baaaec3335cacd1c2057ab.zip | |
Rollup merge of #93746 - cjgillot:nodefii, r=nikomatsakis
Remove defaultness from ImplItem. This information is not really used anywhere, except HIR pretty-printing. This makes ImplItem and TraitItem more similar.
Diffstat (limited to 'src/test/incremental')
| -rw-r--r-- | src/test/incremental/hashes/trait_impls.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/test/incremental/hashes/trait_impls.rs b/src/test/incremental/hashes/trait_impls.rs index 75c93b73f85..2fb991b60ef 100644 --- a/src/test/incremental/hashes/trait_impls.rs +++ b/src/test/incremental/hashes/trait_impls.rs @@ -358,9 +358,11 @@ pub trait AddDefaultTrait { #[cfg(any(cfail1,cfail4))] impl AddDefaultTrait for Foo { - // ------------------------------------------------------------------------------------------- + // ---------------------------------------------------- // ------------------------- - fn method_name() { } + // ---------------------------------------------------- + // ------------------------- + fn method_name() { } } #[cfg(not(any(cfail1,cfail4)))] @@ -369,9 +371,9 @@ impl AddDefaultTrait for Foo { #[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")] #[rustc_clean(cfg="cfail6")] impl AddDefaultTrait for Foo { - #[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail2")] + #[rustc_clean(except="associated_item", cfg="cfail2")] #[rustc_clean(cfg="cfail3")] - #[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item,optimized_mir", cfg="cfail5")] + #[rustc_clean(except="associated_item", cfg="cfail5")] #[rustc_clean(cfg="cfail6")] default fn method_name() { } } |
