about summary refs log tree commit diff
path: root/src/libsyntax/attr.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-27 15:39:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-31 15:47:36 -0700
commit3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7 (patch)
treec00e4a730162f2b18c90971183ae28a746bbf4f8 /src/libsyntax/attr.rs
parentc034d0c854b9e80dc5d20ebe152eee8ce96ed544 (diff)
downloadrust-3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7.tar.gz
rust-3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7.zip
syntax: Switch field privacy as necessary
Diffstat (limited to 'src/libsyntax/attr.rs')
-rw-r--r--src/libsyntax/attr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs
index ff9f9dece95..0c0d7bbb535 100644
--- a/src/libsyntax/attr.rs
+++ b/src/libsyntax/attr.rs
@@ -337,8 +337,8 @@ pub fn test_cfg<AM: AttrMetaMethods, It: Iterator<AM>>
 
 /// Represents the #[deprecated="foo"] (etc) attributes.
 pub struct Stability {
-    level: StabilityLevel,
-    text: Option<InternedString>
+    pub level: StabilityLevel,
+    pub text: Option<InternedString>
 }
 
 /// The available stability levels.