Skip to content

Commit 1f81242

Browse files
compiler: Remove outdated comment
1 parent 62b9d4a commit 1f81242

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_lint/src/types.rs

-1
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,6 @@ fn is_niche_optimization_candidate<'tcx>(
728728
/// can, return the type that `ty` can be safely converted to, otherwise return `None`.
729729
/// Currently restricted to function pointers, boxes, references, `core::num::NonZero`,
730730
/// `core::ptr::NonNull`, and `#[repr(transparent)]` newtypes.
731-
/// FIXME: This duplicates code in codegen.
732731
pub(crate) fn repr_nullable_ptr<'tcx>(
733732
tcx: TyCtxt<'tcx>,
734733
param_env: ty::ParamEnv<'tcx>,

0 commit comments

Comments
 (0)