about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-09-18 18:04:20 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-09-22 13:37:09 +0200
commitdf727490b6adf58dc9ceb50440d930a989bd9729 (patch)
treee418954af41b666ec39d82dcee2f209fc5cf9363 /compiler
parent4e0ee2a1bab796703cbb74d98f7d9742e64c032a (diff)
downloadrust-df727490b6adf58dc9ceb50440d930a989bd9729.tar.gz
rust-df727490b6adf58dc9ceb50440d930a989bd9729.zip
Make SymbolIndex private
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_span/src/symbol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index eaf92487bff..89b50c9afb2 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1616,7 +1616,7 @@ impl fmt::Display for MacroRulesNormalizedIdent {
 pub struct Symbol(SymbolIndex);
 
 rustc_index::newtype_index! {
-    pub struct SymbolIndex { .. }
+    struct SymbolIndex { .. }
 }
 
 impl Symbol {