We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34618b5 + 70f2dec commit 7267216Copy full SHA for 7267216
proc_macro/src/lib.rs
@@ -74,6 +74,7 @@ pub fn is_available() -> bool {
74
///
75
/// This is both the input and output of `#[proc_macro]`, `#[proc_macro_attribute]`
76
/// and `#[proc_macro_derive]` definitions.
77
+#[rustc_diagnostic_item = "TokenStream"]
78
#[stable(feature = "proc_macro_lib", since = "1.15.0")]
79
#[derive(Clone)]
80
pub struct TokenStream(Option<bridge::client::TokenStream>);
0 commit comments