We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca0f61 commit 7ab612aCopy full SHA for 7ab612a
compiler/rustc_lint/src/builtin.rs
@@ -2781,7 +2781,6 @@ impl ClashingExternDeclarations {
2781
2782
// Given a transparent newtype, reach through and grab the inner
2783
// type unless the newtype makes the type non-null.
2784
- // Also returns whether this type is a ZST.
2785
let non_transparent_ty = |mut ty: Ty<'tcx>| -> Ty<'tcx> {
2786
loop {
2787
if let ty::Adt(def, substs) = *ty.kind() {
0 commit comments