]> git.lizzy.rs Git - rust.git/commitdiff
remove unnecessary fixme
authorlcnr <rust@lcnr.de>
Wed, 5 Jan 2022 10:42:45 +0000 (11:42 +0100)
committerlcnr <rust@lcnr.de>
Tue, 18 Jan 2022 11:22:57 +0000 (12:22 +0100)
compiler/rustc_typeck/src/collect/type_of.rs

index bc7507bcc500f97793231795c37862b9ef54afb5..a6e8b36f78b3ed3e923628eac9455b5a56116e9d 100644 (file)
@@ -20,9 +20,6 @@
 /// This should be called using the query `tcx.opt_const_param_of`.
 #[instrument(level = "debug", skip(tcx))]
 pub(super) fn opt_const_param_of(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Option<DefId> {
-    // FIXME(generic_arg_infer): allow for returning DefIds of inference of
-    // GenericArg::Infer below. This may require a change where GenericArg::Infer has some flag
-    // for const or type.
     use hir::*;
     let hir_id = tcx.hir().local_def_id_to_hir_id(def_id);