We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8b7116 commit 621e60aCopy full SHA for 621e60a
compiler/rustc_typeck/src/collect/type_of.rs
@@ -20,9 +20,6 @@ use super::{bad_placeholder, is_suggestable_infer_ty};
20
/// This should be called using the query `tcx.opt_const_param_of`.
21
#[instrument(level = "debug", skip(tcx))]
22
pub(super) fn opt_const_param_of(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Option<DefId> {
23
- // FIXME(generic_arg_infer): allow for returning DefIds of inference of
24
- // GenericArg::Infer below. This may require a change where GenericArg::Infer has some flag
25
- // for const or type.
26
use hir::*;
27
let hir_id = tcx.hir().local_def_id_to_hir_id(def_id);
28
0 commit comments