Add warn(unreachable_pub)
to rustc_query_system
.
This commit is contained in:
parent
2eea2d2cf1
commit
afc58beebe
3 changed files with 11 additions and 10 deletions
|
@ -617,14 +617,14 @@ impl<D: Deps> EncoderState<D> {
|
|||
}
|
||||
}
|
||||
|
||||
pub struct GraphEncoder<D: Deps> {
|
||||
pub(crate) struct GraphEncoder<D: Deps> {
|
||||
profiler: SelfProfilerRef,
|
||||
status: Lock<Option<EncoderState<D>>>,
|
||||
record_graph: Option<Lock<DepGraphQuery>>,
|
||||
}
|
||||
|
||||
impl<D: Deps> GraphEncoder<D> {
|
||||
pub fn new(
|
||||
pub(crate) fn new(
|
||||
encoder: FileEncoder,
|
||||
prev_node_count: usize,
|
||||
record_graph: bool,
|
||||
|
@ -723,7 +723,7 @@ impl<D: Deps> GraphEncoder<D> {
|
|||
)
|
||||
}
|
||||
|
||||
pub fn finish(&self) -> FileEncodeResult {
|
||||
pub(crate) fn finish(&self) -> FileEncodeResult {
|
||||
let _prof_timer = self.profiler.generic_activity("incr_comp_encode_dep_graph_finish");
|
||||
|
||||
self.status.lock().take().unwrap().finish(&self.profiler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue