Skip to content

Commit 4356e4b

Browse files
compiler-errorspietroalbini
authored andcommitted
Format and skip formatting for pin
1 parent 36232ea commit 4356e4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/pin.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,6 +1936,8 @@ unsafe impl<T: ?Sized> PinCoerceUnsized for *mut T {}
19361936
#[stable(feature = "pin_macro", since = "1.68.0")]
19371937
#[rustc_macro_transparency = "semitransparent"]
19381938
#[allow_internal_unstable(super_let)]
1939+
// `super` gets removed by rustfmt
1940+
#[rustfmt::skip]
19391941
pub macro pin($value:expr $(,)?) {
19401942
{
19411943
super let mut pinned = $value;

0 commit comments

Comments
 (0)