diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-02-16 09:34:53 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-04-21 22:27:20 +0000 |
| commit | 5bb58a68de2dbc7c122c4bb2438b0d88a2897470 (patch) | |
| tree | f3c9643b742fee650b3dd1d58cebfcc90d578cdb /compiler/rustc_interface/src | |
| parent | 1ce80e210d152619caa99b1bc030f57a352b657a (diff) | |
| download | rust-5bb58a68de2dbc7c122c4bb2438b0d88a2897470.tar.gz rust-5bb58a68de2dbc7c122c4bb2438b0d88a2897470.zip | |
Make `check_match` and `check_liveness` take a `LocalDefId`
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 5fe9d344654..8e8e29fd4cf 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -775,7 +775,7 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> { // "not all control paths return a value" is reported here. // // maybe move the check to a MIR pass? - tcx.ensure().check_liveness(def_id.to_def_id()); + tcx.ensure().check_liveness(def_id); }); }); } |
