Add warn(unreachable_pub) to rustc_incremental.

This commit is contained in:
Nicholas Nethercote
2024-08-27 14:30:20 +10:00
parent 7fc0444340
commit 37becf7bdc
7 changed files with 50 additions and 49 deletions

View File

@@ -4,7 +4,7 @@ use rustc_macros::{Decodable, Encodable};
use rustc_middle::dep_graph::{WorkProduct, WorkProductId};
#[derive(Debug, Encodable, Decodable)]
pub struct SerializedWorkProduct {
pub(crate) struct SerializedWorkProduct {
/// node that produced the work-product
pub id: WorkProductId,