]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3343.rs
Rollup merge of #95040 - frank-king:fix/94981, r=Mark-Simulacrum
[rust.git] / src / tools / rustfmt / tests / target / issue-3343.rs
1 // rustfmt-inline_attribute_width: 50
2
3 #[cfg(feature = "alloc")] use core::slice;
4
5 #[cfg(feature = "alloc")] use total_len_is::_50__;
6
7 #[cfg(feature = "alloc")]
8 use total_len_is::_51___;
9
10 #[cfg(feature = "alloc")] extern crate len_is_50_;
11
12 #[cfg(feature = "alloc")]
13 extern crate len_is_51__;
14
15 /// this is a comment to test is_sugared_doc property
16 use core::convert;
17
18 #[fooooo]
19 #[barrrrr]
20 use total_len_is_::_51______;
21
22 #[cfg(not(all(
23     feature = "std",
24     any(
25         target_os = "linux",
26         target_os = "android",
27         target_os = "netbsd",
28         target_os = "dragonfly",
29         target_os = "haiku",
30         target_os = "emscripten",
31         target_os = "solaris",
32         target_os = "cloudabi",
33         target_os = "macos",
34         target_os = "ios",
35         target_os = "freebsd",
36         target_os = "openbsd",
37         target_os = "redox",
38         target_os = "fuchsia",
39         windows,
40         all(target_arch = "wasm32", feature = "stdweb"),
41         all(target_arch = "wasm32", feature = "wasm-bindgen"),
42     )
43 )))]
44 use core::slice;