Make SymbolIndex private

This commit is contained in:
bjorn3 2021-09-18 18:04:20 +02:00
parent 4e0ee2a1ba
commit df727490b6

View File

@ -1616,7 +1616,7 @@ impl fmt::Display for MacroRulesNormalizedIdent {
pub struct Symbol(SymbolIndex); pub struct Symbol(SymbolIndex);
rustc_index::newtype_index! { rustc_index::newtype_index! {
pub struct SymbolIndex { .. } struct SymbolIndex { .. }
} }
impl Symbol { impl Symbol {