Rollup merge of #127950 - nnethercote:rustfmt-skip-on-use-decls, r=cu… · model-checking/verify-rust-std@30cfde4 (original) (raw)

Original file line number Diff line number Diff line change
@@ -24,18 +24,23 @@ mod convert;
24 24 mod decode;
25 25 mod methods;
26 26
27 +// stable re-exports
28 +#[rustfmt::skip]
27 29 #[stable(feature = "try_from", since = "1.34.0")]
28 30 pub use self::convert::CharTryFromError;
29 31 #[stable(feature = "char_from_str", since = "1.20.0")]
30 32 pub use self::convert::ParseCharError;
31 33 #[stable(feature = "decode_utf16", since = "1.9.0")]
32 34 pub use self::decode::{DecodeUtf16, DecodeUtf16Error};
33 35
36 +// perma-unstable re-exports
37 +#[rustfmt::skip]
34 38 #[unstable(feature = "char_internals", reason = "exposed only for libstd", issue = "none")]
35 39 pub use self::methods::encode_utf16_raw; // perma-unstable
36 40 #[unstable(feature = "char_internals", reason = "exposed only for libstd", issue = "none")]
37 41 pub use self::methods::encode_utf8_raw; // perma-unstable
38 42
43 +#[rustfmt::skip]
39 44 use crate::ascii;
40 45 use crate::error::Error;
41 46 use crate::escape;