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 f7192cb commit 8240b96Copy full SHA for 8240b96
examples/rustc-driver-getting-diagnostics.rs
@@ -81,7 +81,7 @@ fn main() {
81
compiler.enter(|queries| {
82
queries.global_ctxt().unwrap().take().enter(|tcx| {
83
// Run the analysis phase on the local crate to trigger the type error.
84
- tcx.analysis(rustc_hir::def_id::LOCAL_CRATE);
+ let _ = tcx.analysis(());
85
});
86
87
0 commit comments