]> git.proxmox.com Git - rustc.git/blob - compiler/rustc_trait_selection/src/lib.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / compiler / rustc_trait_selection / src / lib.rs
1 //! This crates defines the trait resolution method.
2 //!
3 //! - **Traits.** Trait resolution is implemented in the `traits` module.
4 //!
5 //! For more information about how rustc works, see the [rustc-dev-guide].
6 //!
7 //! [rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/
8 //!
9 //! # Note
10 //!
11 //! This API is completely unstable and subject to change.
12
13 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
14 #![feature(bool_to_option)]
15 #![feature(box_patterns)]
16 #![feature(drain_filter)]
17 #![feature(in_band_lifetimes)]
18 #![feature(never_type)]
19 #![feature(crate_visibility_modifier)]
20 #![feature(or_patterns)]
21 #![recursion_limit = "512"] // For rustdoc
22
23 #[macro_use]
24 extern crate rustc_macros;
25 #[cfg(target_arch = "x86_64")]
26 #[macro_use]
27 extern crate rustc_data_structures;
28 #[macro_use]
29 extern crate tracing;
30 #[macro_use]
31 extern crate rustc_middle;
32
33 pub mod autoderef;
34 pub mod infer;
35 pub mod opaque_types;
36 pub mod traits;