found the stack overflow culprit
This commit is contained in:
parent
93ac5dff2a
commit
ba90718bb4
1 changed files with 2 additions and 2 deletions
|
@ -346,8 +346,8 @@ macro_rules! define_maps {
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME(eddyb) Get more valid Span's on queries.
|
// FIXME(eddyb) Get more valid Span's on queries.
|
||||||
if span == DUMMY_SP {
|
if span == DUMMY_SP && stringify!($name) != "def_span" {
|
||||||
span = key.default_span(tcx);
|
span = key.default_span(tcx)
|
||||||
}
|
}
|
||||||
|
|
||||||
let _task = tcx.dep_graph.in_task(Self::to_dep_node(&key));
|
let _task = tcx.dep_graph.in_task(Self::to_dep_node(&key));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue