Make the remaining "private" fields actually private
This commit is contained in:
parent
92d727796b
commit
225f0b9fef
@ -12,7 +12,7 @@
|
||||
use std::ops::Range;
|
||||
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Hash)]
|
||||
pub struct Ty(pub usize);
|
||||
pub struct Ty(usize);
|
||||
|
||||
impl Debug for Ty {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
||||
@ -138,7 +138,7 @@ pub fn eval_target_usize(&self) -> Result<u64, Error> {
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub struct ConstId(pub usize);
|
||||
pub struct ConstId(usize);
|
||||
|
||||
type Ident = Opaque;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user