rust/compiler/rustc_middle
bors 0da6d42f29 Auto merge of - eddyb:mir-inline-scope, r=nagisa,oli-obk
rustc_mir: track inlined callees in SourceScopeData.

We now record which MIR scopes are the roots of *other* (inlined) functions's scope trees, which allows us to generate the correct debuginfo in codegen, similar to what LLVM inlining generates.
This PR makes the `ui` test `backtrace-debuginfo` pass, if the MIR inliner is turned on by default.

Also, `#[track_caller]` is now correct in the face of MIR inlining (cc `@anp).`

Fixes .

r? `@rust-lang/wg-mir-opt`
2020-10-26 18:50:22 +00:00
..
benches mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
src Auto merge of - eddyb:mir-inline-scope, r=nagisa,oli-obk 2020-10-26 18:50:22 +00:00
Cargo.toml Upgrade to measureme 9.0.0 2020-10-24 22:39:42 -04:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

For more information about how rustc works, see the rustc dev guide.