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.
1 parent 6773e7e commit 9909cb9Copy full SHA for 9909cb9
compiler/rustc_const_eval/src/transform/validate.rs
@@ -81,6 +81,7 @@ struct TypeChecker<'a, 'tcx> {
81
}
82
83
impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
84
+ #[track_caller]
85
fn fail(&self, location: Location, msg: impl AsRef<str>) {
86
let span = self.body.source_info(location).span;
87
// We use `delay_span_bug` as we might see broken MIR when other errors have already
0 commit comments