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(if_let_guard)]
24#![feature(iter_intersperse)]
25#![feature(iterator_try_reduce)]
26#![feature(let_chains)]
27#![feature(never_type)]
28#![feature(rustdoc_internals)]
29#![feature(try_blocks)]
30#![feature(type_alias_impl_trait)]
31#![feature(unwrap_infallible)]
32#![feature(yeet_expr)]
33#![recursion_limit = "512"] // For rustdoc
34// tidy-alphabetical-end
3536pub mod error_reporting;
37pub mod errors;
38pub mod infer;
39pub mod regions;
40pub mod solve;
41pub mod traits;
4243rustc_fluent_macro::fluent_messages! { "../messages.ftl" }