mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
358a603f11
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |