Skip to content

Commit

Permalink
compiler: Remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Oct 19, 2024
1 parent c09212a commit 193352d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_lint/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,6 @@ fn is_niche_optimization_candidate<'tcx>(
/// can, return the type that `ty` can be safely converted to, otherwise return `None`.
/// Currently restricted to function pointers, boxes, references, `core::num::NonZero`,
/// `core::ptr::NonNull`, and `#[repr(transparent)]` newtypes.
/// FIXME: This duplicates code in codegen.
pub(crate) fn repr_nullable_ptr<'tcx>(
tcx: TyCtxt<'tcx>,
param_env: ty::ParamEnv<'tcx>,
Expand Down

0 comments on commit 193352d

Please sign in to comment.