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