diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-09-05 10:23:12 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-09-07 10:52:31 -0700 |
commit | 04f020bd00cdbaacc0e206fa783f546f6dd57e44 (patch) | |
tree | d5a9a0161d0e859308951981b6a40f7918e4c0bf /tests | |
parent | 231bccbc9be95be1db53a26d759cba2bfa55e951 (diff) |
Use the `quote!` macro for `link_name` attributes
The latest `rustfmt` has fixed the formatting bugs we were running into.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/expectations/tests/mangling-win32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expectations/tests/mangling-win32.rs b/tests/expectations/tests/mangling-win32.rs index bea6baf1..747ccbf5 100644 --- a/tests/expectations/tests/mangling-win32.rs +++ b/tests/expectations/tests/mangling-win32.rs @@ -13,7 +13,7 @@ pub struct Foo { pub _address: u8, } extern "C" { - #[link_name = "?sBar@Foo@@2_NA"] + #[link_name = "\u{1}?sBar@Foo@@2_NA"] pub static mut Foo_sBar: bool; } #[test] |