From d356cd10f7380cc3d9e20d50f2d64e4a07ba196c Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Fri, 23 Jul 2021 00:07:56 +0800 Subject: [PATCH] fmt --- compiler/rustc_trait_selection/src/traits/select/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs index f334452a7912..a158a37cd68c 100644 --- a/compiler/rustc_trait_selection/src/traits/select/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/select/mod.rs @@ -1032,8 +1032,9 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> { AutoImplCandidate(..) => {} // FIXME check if this is right, but this would allow Sized impls BuiltinCandidate { .. } => {} - _ => { // reject all other types of candidates - return Err(Unimplemented) + _ => { + // reject all other types of candidates + return Err(Unimplemented); } } }