diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-29 15:01:33 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-31 21:30:08 +1000 |
| commit | 3079bd96b94fda7acba3161bd53719576224a210 (patch) | |
| tree | 68b926486007d27b18a48b3e422926918bbcabee /tests/run-make/pointer-auth-link-with-c | |
| parent | 70bc0c5b204375e3efe1572689356bf99a9f4e9d (diff) | |
| download | rust-3079bd96b94fda7acba3161bd53719576224a210.tar.gz rust-3079bd96b94fda7acba3161bd53719576224a210.zip | |
Run rustfmt on `tests/run-make/`.
With the exception of `tests/run-make/translation/test.rs`, which has a syntax error. The expected output in `rustdoc-error-lines/rmake.rs`'s required slight tweaking. The two `reproducible-build.rs` files need `// ignore-tidy-linelength` because rustfmt produces lines longer than 100 chars, which tidy doesn't like, yuk.
Diffstat (limited to 'tests/run-make/pointer-auth-link-with-c')
| -rw-r--r-- | tests/run-make/pointer-auth-link-with-c/test.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run-make/pointer-auth-link-with-c/test.rs b/tests/run-make/pointer-auth-link-with-c/test.rs index 615ad0aeb3d..1a3be80e898 100644 --- a/tests/run-make/pointer-auth-link-with-c/test.rs +++ b/tests/run-make/pointer-auth-link-with-c/test.rs @@ -4,5 +4,7 @@ extern "C" { } fn main() { - unsafe {foo();} + unsafe { + foo(); + } } |
