Crate rustc [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

The Rust compiler.

Note

This API is completely unstable and subject to change.

Modules

cfg [
Experimental
]

Module that constructs a control-flow graph representing an item. Uses Graph as the underlying representation.

dep_graph [
Experimental
]
diagnostics [
Experimental
]
hir [
Experimental
]
infer [
Experimental
]

See the Book for more information.

lint [
Experimental
]

Lints, aka compiler warnings.

middle [
Experimental
]
mir [
Experimental
]
session [
Experimental
]
traits [
Experimental
]

Trait Resolution. See README.md for an overview of how this works.

ty [
Experimental
]
util [
Experimental
]

Macros

bug [
Experimental
]
declare_lint [
Experimental
]

Declare a static item of type &'static Lint.

lint_array [
Experimental
]

Declare a static LintArray and return it as an expression.

lint_initializer [
Experimental
]

Build a Lint initializer.

span_bug [
Experimental
]

Constants

DIAGNOSTICS [
Experimental
]