diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-09-29 17:17:36 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-10-19 13:01:30 -0700 |
| commit | 1f8124255804ca35d4938ff7998277e7b5f8f019 (patch) | |
| tree | e6a205dff03df5e598ef9e4436482da7050f2eb4 | |
| parent | 62b9d4a4ff61bb261d44b9391289238442fb9593 (diff) | |
| download | rust-1f8124255804ca35d4938ff7998277e7b5f8f019.tar.gz rust-1f8124255804ca35d4938ff7998277e7b5f8f019.zip | |
compiler: Remove outdated comment
| -rw-r--r-- | compiler/rustc_lint/src/types.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/types.rs b/compiler/rustc_lint/src/types.rs index c79da86ccc5..ce65ce2b6be 100644 --- a/compiler/rustc_lint/src/types.rs +++ b/compiler/rustc_lint/src/types.rs @@ -728,7 +728,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>, |
