diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs index f334452a791..a158a37cd68 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); } } }