Expand description
This crate contains implementations of built-in macros and other code generating facilities injecting code into the crate before it is lowered to HIR.
Modules§
- alloc_
error_ πhandler - assert π
- autodiff πThis module contains the implementation of the
#[autodiff]
attribute. Currently our linter isnβt smart enough to see that each import is used in one of the two configs (autodiff enabled or disabled), so we have to add cfgβs to each import. FIXME(ZuseZ4): Remove this once we have a smarter linter. - cfg πThe compiler code necessary to support the cfg! extension, which expands to a literal
true
orfalse
based on whether the given cfg matches the current compilation environment. - cfg_
accessible πImplementation of the#[cfg_accessible(path)]
attribute macro. - cfg_
eval π - Attributes injected into the crate root from command line using
-Z crate-attr
. - compile_
error π - concat π
- concat_
bytes π - concat_
idents π - derive π
- deriving πThe compiler code necessary to implement the
#[derive]
extensions. - edition_
panic π - env π
- errors π
- format π
- format_
foreign π - global_
allocator π - log_
syntax π - pattern_
type π - source_
util π - test πThe expansion from a test function to the appropriate test struct for libtest Ideally, this code would be in libtest but for efficiency and error messages it lives here.
- trace_
macros π
Statics§
- Raw content of Fluent resource for this crate, generated by
fluent_messages
macro, imported byrustc_driver
to include all cratesβ resources in one bundle.