Document `proc-macro` feature
diff --git a/src/buffer.rs b/src/buffer.rs
index d92a7a6..13ef844 100644
--- a/src/buffer.rs
+++ b/src/buffer.rs
@@ -220,6 +220,9 @@
/// Creates a `TokenBuffer` containing all the tokens from the input
/// `TokenStream`.
+ ///
+ /// *This method is available if Syn is built with both the `"parsing"` and
+ /// `"proc-macro"` features.*
#[cfg(feature = "proc-macro")]
pub fn new(stream: pm::TokenStream) -> TokenBuffer {
Self::new2(stream.into())
diff --git a/src/lib.rs b/src/lib.rs
index d0e291d..10f6282 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -254,6 +254,8 @@
//! types.
//! - **`extra-traits`** — Debug, Eq, PartialEq, Hash impls for all syntax tree
//! types.
+//! - **`proc-macro`** *(enabled by default)* — Runtime dependency on the
+//! dynamic library libproc_macro from rustc toolchain.
// Syn types in rustdoc of other crates get linked to here.
#![doc(html_root_url = "https://docs.rs/syn/0.13.1")]
@@ -540,7 +542,8 @@
///
/// [`syn::parse2`]: fn.parse2.html
///
-/// *This function is available if Syn is built with the `"parsing"` feature.*
+/// *This function is available if Syn is built with both the `"parsing"` and
+/// `"proc-macro"` features.*
///
/// # Examples
///
diff --git a/src/synom.rs b/src/synom.rs
index 935b7a8..63de9a0 100644
--- a/src/synom.rs
+++ b/src/synom.rs
@@ -226,6 +226,9 @@
fn parse2(self, tokens: proc_macro2::TokenStream) -> Result<Self::Output, ParseError>;
/// Parse tokens of source code into the chosen syntax tree node.
+ ///
+ /// *This method is available if Syn is built with both the `"parsing"` and
+ /// `"proc-macro"` features.*
#[cfg(feature = "proc-macro")]
fn parse(self, tokens: proc_macro::TokenStream) -> Result<Self::Output, ParseError> {
self.parse2(tokens.into())