We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72fee89 + c98b3b2 commit b184550Copy full SHA for b184550
compiler/rustc_const_eval/src/util/caller_location.rs
@@ -61,7 +61,7 @@ pub(crate) fn const_caller_location_provider(
61
trace!("const_caller_location: {}:{}:{}", file, line, col);
62
let mut ecx = mk_eval_cx_to_read_const_val(
63
tcx,
64
- rustc_span::DUMMY_SP, // FIXME: use a proper span here?
+ rustc_span::DUMMY_SP, // This interpreter cannot fail, so the span is irrelevant.
65
ty::TypingEnv::fully_monomorphized(),
66
CanAccessMutGlobal::No,
67
);
0 commit comments