Provide re-exports for backward compatibility
diff --git a/src/token.rs b/src/token.rs
index 3851fb2..9f839c2 100644
--- a/src/token.rs
+++ b/src/token.rs
@@ -776,6 +776,13 @@
(_) => { $crate::token::Underscore };
}
+// Old names. TODO: remove these re-exports in a breaking change.
+// https://github.com/dtolnay/syn/issues/486
+#[doc(hidden)]
+pub use self::SelfType as CapSelf;
+#[doc(hidden)]
+pub use self::SelfValue as Self_;
+
#[cfg(feature = "parsing")]
mod parsing {
use proc_macro2::{Spacing, Span};