From 7ab612a7eea5151ed0a47fd7b98aff5e114b3e07 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Mon, 20 Mar 2023 00:55:36 +0100 Subject: remove bad comment --- compiler/rustc_lint/src/builtin.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index ca3865c2c00..b1ff76865ab 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -2781,7 +2781,6 @@ impl ClashingExternDeclarations { // Given a transparent newtype, reach through and grab the inner // type unless the newtype makes the type non-null. - // Also returns whether this type is a ZST. let non_transparent_ty = |mut ty: Ty<'tcx>| -> Ty<'tcx> { loop { if let ty::Adt(def, substs) = *ty.kind() { -- cgit 1.4.1-3-g733a5