Address review comments and add a test

This commit is contained in:
Jakub Beránek 2022-04-02 17:26:39 +02:00
parent e0d4226677
commit b81d873cdf
No known key found for this signature in database
GPG key ID: DBC553E540C2F619
4 changed files with 38 additions and 7 deletions

View file

@ -3,6 +3,7 @@ use crate::passes::{self, BoxedResolver, QueryContext};
use rustc_ast as ast;
use rustc_codegen_ssa::traits::CodegenBackend;
use rustc_codegen_ssa::CodegenResults;
use rustc_data_structures::svh::Svh;
use rustc_data_structures::sync::{Lrc, OnceCell, WorkerLocal};
use rustc_hir::def_id::LOCAL_CRATE;
@ -18,7 +19,6 @@ use rustc_span::symbol::sym;
use std::any::Any;
use std::cell::{Ref, RefCell, RefMut};
use std::rc::Rc;
use rustc_codegen_ssa::CodegenResults;
/// Represent the result of a query.
///