We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02cbc01 commit b170669Copy full SHA for b170669
compiler/rustc_middle/src/ty/consts.rs
@@ -17,7 +17,7 @@ pub use valtree::*;
17
/// Use this rather than `ConstData, whenever possible.
18
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, HashStable)]
19
#[rustc_pass_by_value]
20
-pub struct Const<'tcx>(pub Interned<'tcx, ConstData<'tcx>>);
+pub struct Const<'tcx>(pub(super) Interned<'tcx, ConstData<'tcx>>);
21
22
impl<'tcx> fmt::Debug for Const<'tcx> {
23
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
0 commit comments