|
6 | 6 | //! |
7 | 7 | //! This API is completely unstable and subject to change. |
8 | 8 |
|
| 9 | +// tidy-alphabetical-start |
| 10 | +#![allow(internal_features)] |
| 11 | +#![allow(rustc::default_hash_types)] |
| 12 | +#![allow(rustc::potential_query_instability)] |
| 13 | +#![deny(rustc::diagnostic_outside_of_impl)] |
| 14 | +#![deny(rustc::untranslatable_diagnostic)] |
| 15 | +#![deny(unsafe_op_in_unsafe_fn)] |
9 | 16 | #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] |
| 17 | +#![feature(allocator_api)] |
10 | 18 | #![feature(array_windows)] |
11 | 19 | #![feature(associated_type_bounds)] |
12 | 20 | #![feature(auto_traits)] |
13 | 21 | #![feature(cell_leak)] |
| 22 | +#![feature(cfg_match)] |
14 | 23 | #![feature(core_intrinsics)] |
15 | 24 | #![feature(extend_one)] |
| 25 | +#![feature(get_mut_unchecked)] |
16 | 26 | #![feature(hash_raw_entry)] |
17 | 27 | #![feature(hasher_prefixfree_extras)] |
| 28 | +#![feature(lazy_cell)] |
| 29 | +#![feature(lint_reasons)] |
| 30 | +#![feature(macro_metavar_expr)] |
18 | 31 | #![feature(maybe_uninit_uninit_array)] |
19 | 32 | #![feature(min_specialization)] |
| 33 | +#![feature(negative_impls)] |
20 | 34 | #![feature(never_type)] |
21 | | -#![feature(type_alias_impl_trait)] |
22 | 35 | #![feature(new_uninit)] |
23 | | -#![feature(lazy_cell)] |
| 36 | +#![feature(ptr_alignment_type)] |
24 | 37 | #![feature(rustc_attrs)] |
25 | | -#![feature(negative_impls)] |
| 38 | +#![feature(strict_provenance)] |
26 | 39 | #![feature(test)] |
27 | 40 | #![feature(thread_id_value)] |
28 | | -#![feature(vec_into_raw_parts)] |
29 | | -#![feature(allocator_api)] |
30 | | -#![feature(get_mut_unchecked)] |
31 | | -#![feature(lint_reasons)] |
| 41 | +#![feature(type_alias_impl_trait)] |
32 | 42 | #![feature(unwrap_infallible)] |
33 | | -#![feature(strict_provenance)] |
34 | | -#![feature(ptr_alignment_type)] |
35 | | -#![feature(macro_metavar_expr)] |
36 | | -#![allow(rustc::default_hash_types)] |
37 | | -#![allow(rustc::potential_query_instability)] |
38 | | -#![deny(rustc::untranslatable_diagnostic)] |
39 | | -#![deny(rustc::diagnostic_outside_of_impl)] |
40 | | -#![allow(internal_features)] |
41 | | -#![deny(unsafe_op_in_unsafe_fn)] |
| 43 | +#![feature(vec_into_raw_parts)] |
| 44 | +// tidy-alphabetical-end |
42 | 45 |
|
43 | 46 | #[macro_use] |
44 | 47 | extern crate tracing; |
45 | 48 | #[macro_use] |
46 | | -extern crate cfg_if; |
47 | | -#[macro_use] |
48 | 49 | extern crate rustc_macros; |
49 | 50 |
|
50 | 51 | use std::fmt; |
|
0 commit comments