commit | ebec5245be0bbbbc820a1c0f262f42d2dcaddd52 | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Tue Aug 28 17:21:23 2018 -0700 |
committer | GitHub <noreply@github.com> | Tue Aug 28 17:21:23 2018 -0700 |
tree | f3d406d2213d2b5b51928ea0115ed5fe3a7ad5a4 | |
parent | e9d344f6d8d89cac042fcf5489e7cac0b5568838 [diff] | |
parent | 4a23282db6e77c936c068df10c1d322480ed1eb6 [diff] |
Merge pull request #121 from SergioBenitez/master Enable 'unstable' method if the 'nightly' feature is enabled.
diff --git a/src/lib.rs b/src/lib.rs index 4e08482..44c56c3 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -328,7 +328,8 @@ } /// This method is only available when the `"nightly"` feature is enabled. - #[cfg(super_unstable)] + #[doc(hidden)] + #[cfg(any(feature = "nightly", super_unstable))] pub fn unstable(self) -> proc_macro::Span { self.inner.unstable() }