Skip to content

Commit 8ce7783

Browse files
compiler-errorspietroalbini
authored andcommitted
Format and skip formatting for pin
1 parent ce6e296 commit 8ce7783

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

library/core/src/pin.rs

+2
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;

src/bootstrap/src/core/build_steps/llvm.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1230,8 +1230,7 @@ fn supported_sanitizers(
12301230
.iter()
12311231
.map(move |c| SanitizerRuntime {
12321232
cmake_target: format!("clang_rt.{c}_{os}_dynamic"),
1233-
path: out_dir
1234-
.join(format!("build/lib/darwin/libclang_rt.{c}_{os}_dynamic.dylib")),
1233+
path: out_dir.join(format!("build/lib/darwin/libclang_rt.{c}_{os}_dynamic.dylib")),
12351234
name: format!("librustc-{channel}_rt.{c}.dylib"),
12361235
})
12371236
.collect()

0 commit comments

Comments
 (0)