rust/compiler/rustc_session/src
Nicholas Nethercote 358a603f11 Use token::Lit in ast::ExprKind::Lit.
Instead of `ast::Lit`.

Literal lowering now happens at two different times. Expression literals
are lowered when HIR is crated. Attribute literals are lowered during
parsing.

This commit changes the language very slightly. Some programs that used
to not compile now will compile. This is because some invalid literals
that are removed by `cfg` or attribute macros will no longer trigger
errors. See this comment for more details:
https://github.com/rust-lang/rust/pull/102944#issuecomment-1277476773
2022-11-16 09:41:28 +11:00
..
config Change process spawning to inherit the parent's signal mask by default 2022-10-20 14:53:38 -07:00
cgu_reuse_tracker.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
code_stats.rs avoid some Symbol to String conversions 2022-07-17 04:09:20 +09:00
config.rs Add --print=split-debuginfo 2022-11-07 16:11:32 +01:00
cstore.rs change rlib format to discern native dependencies 2022-09-12 16:45:03 +03:00
errors.rs Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00
filesearch.rs improve filesearch::get_or_default_sysroot r=ozkanonur 2022-11-04 17:06:47 +03:00
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
options.rs Rollup merge of #103610 - wesleywiser:thinlto_cgu1, r=michaelwoerister 2022-11-02 22:06:26 +01:00
output.rs translations(rustc_session): migrate output.rs 2022-09-10 08:19:17 +02:00
parse.rs Add more track_caller 2022-10-31 16:14:29 +01:00
search_paths.rs incr. comp.: Don't export impl_stable_hash_via_hash!() and warn about using it. 2022-04-19 10:43:20 +02:00
session.rs Rollup merge of #103660 - ozkanonur:master, r=jyn514 2022-11-05 11:31:28 +05:30
utils.rs Get rid of native_library projection queries 2022-10-19 16:21:21 +02:00