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.
1213// tidy-alphabetical-start
14#![allow(internal_features)]
15#![allow(rustc::diagnostic_outside_of_impl)]
16#![allow(rustc::untranslatable_diagnostic)]
17#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
18#![doc(rust_logo)]
19#![feature(assert_matches)]
20#![feature(associated_type_defaults)]
21#![feature(box_patterns)]
22#![feature(cfg_version)]
23#![feature(extract_if)]
24#![feature(if_let_guard)]
25#![feature(iter_intersperse)]
26#![feature(iterator_try_reduce)]
27#![feature(let_chains)]
28#![feature(never_type)]
29#![feature(rustdoc_internals)]
30#![feature(try_blocks)]
31#![feature(type_alias_impl_trait)]
32#![feature(unwrap_infallible)]
33#![feature(yeet_expr)]
34#![recursion_limit = "512"] // For rustdoc
35#![warn(unreachable_pub)] // For rustdoc
36// tidy-alphabetical-end
3738pub mod error_reporting;
39pub mod errors;
40pub mod infer;
41pub mod regions;
42pub mod solve;
43pub mod traits;
4445rustc_fluent_macro::fluent_messages! { "../messages.ftl" }