Show the inline stack of MIR lints that only occur after inlining
This commit is contained in:
parent
4445e46518
commit
c8a866ea17
40 changed files with 378 additions and 353 deletions
|
@ -799,7 +799,9 @@ impl<'tcx> SaveContext<'tcx> {
|
|||
|
||||
// These are not macros.
|
||||
// FIXME(eddyb) maybe there is a way to handle them usefully?
|
||||
ExpnKind::Root | ExpnKind::AstPass(_) | ExpnKind::Desugaring(_) => return None,
|
||||
ExpnKind::Inlined | ExpnKind::Root | ExpnKind::AstPass(_) | ExpnKind::Desugaring(_) => {
|
||||
return None;
|
||||
}
|
||||
};
|
||||
|
||||
let callee_span = self.span_from_span(callee.def_site);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue