Skip to main content

rustc_trait_selection/
lib.rs

1//! This crate 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// tidy-alphabetical-start
14#![cfg_attr(bootstrap, feature(assert_matches))]
15#![feature(associated_type_defaults)]
16#![feature(box_patterns)]
17#![feature(default_field_values)]
18#![feature(hash_set_entry)]
19#![feature(if_let_guard)]
20#![feature(iter_intersperse)]
21#![feature(iterator_try_reduce)]
22#![feature(never_type)]
23#![feature(strip_circumfix)]
24#![feature(try_blocks)]
25#![feature(unwrap_infallible)]
26#![feature(yeet_expr)]
27#![recursion_limit = "512"] // For rustdoc
28// tidy-alphabetical-end
29
30pub mod error_reporting;
31pub mod errors;
32pub mod infer;
33pub mod opaque_types;
34pub mod regions;
35pub mod solve;
36pub mod traits;