about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Markeffsky <@>2024-04-20 18:24:54 +0200
committerLukas Markeffsky <@>2024-04-20 18:24:54 +0200
commit31a05a227afb9aa2b2ad02a04593f86aea7641e4 (patch)
treecca01a651e6519c92ffcd2da7f743f31f18ee152
parentf9ba863c4dc2c36bd39d954ee135122cd646d914 (diff)
downloadrust-31a05a227afb9aa2b2ad02a04593f86aea7641e4.tar.gz
rust-31a05a227afb9aa2b2ad02a04593f86aea7641e4.zip
merge two impl blocks
-rw-r--r--compiler/rustc_trait_selection/src/traits/auto_trait.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/auto_trait.rs b/compiler/rustc_trait_selection/src/traits/auto_trait.rs
index c450d104e5c..f9e7ed9dcbb 100644
--- a/compiler/rustc_trait_selection/src/traits/auto_trait.rs
+++ b/compiler/rustc_trait_selection/src/traits/auto_trait.rs
@@ -175,9 +175,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
 
         AutoTraitResult::PositiveImpl(auto_trait_callback(info))
     }
-}
 
-impl<'tcx> AutoTraitFinder<'tcx> {
     /// The core logic responsible for computing the bounds for our synthesized impl.
     ///
     /// To calculate the bounds, we call `SelectionContext.select` in a loop. Like