Add sym::macro_pin diagnostic item for core::pin::pin!() · rust-lang/rust@b75b14f (original) (raw)
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1935,6 +1935,7 @@ unsafe impl<T: ?Sized> PinCoerceUnsized for *mut T {} | ||
| 1935 | 1935 | #[stable(feature = "pin_macro", since = "1.68.0")] |
| 1936 | 1936 | #[rustc_macro_transparency = "semitransparent"] |
| 1937 | 1937 | #[allow_internal_unstable(super_let)] |
| 1938 | +#[rustc_diagnostic_item = "pin_macro"] | |
| 1938 | 1939 | // `super` gets removed by rustfmt |
| 1939 | 1940 | #[rustfmt::skip] |
| 1940 | 1941 | pub macro pin($value:expr $(,)?) { |