1
Fork 0
rust/compiler/rustc_parse/src/parser
Nilstrieb ffafcd8819 Update to bitflags 2 in the compiler
This involves lots of breaking changes. There are two big changes that
force changes. The first is that the bitflag types now don't
automatically implement normal derive traits, so we need to derive them
manually.

Additionally, bitflags now have a hidden inner type by default, which
breaks our custom derives. The bitflags docs recommend using the impl
form in these cases, which I did.
2023-12-30 18:17:28 +01:00
..
attr.rs Remove ParseSess methods that duplicate DiagCtxt methods. 2023-12-24 07:59:21 +11:00
attr_wrapper.rs Rename Parser::span_diagnostic as Parser::dcx. 2023-12-18 16:06:21 +11:00
diagnostics.rs Use filter instead of filter_map in Parser::expected_one_of_not_found 2023-12-28 21:19:41 +01:00
expr.rs Don't expect bodyless arms if the pattern can never be a never pattern 2023-12-28 15:02:17 +01:00
generics.rs Remove ParseSess methods that duplicate DiagCtxt methods. 2023-12-24 07:59:21 +11:00
item.rs Remove ParseSess methods that duplicate DiagCtxt methods. 2023-12-24 07:59:21 +11:00
mod.rs Update to bitflags 2 in the compiler 2023-12-30 18:17:28 +01:00
nonterminal.rs Use .into_diagnostic() less. 2023-12-18 20:46:13 +11:00
pat.rs Remove ParseSess methods that duplicate DiagCtxt methods. 2023-12-24 07:59:21 +11:00
path.rs Remove ParseSess methods that duplicate DiagCtxt methods. 2023-12-24 07:59:21 +11:00
stmt.rs Remove ParseSess methods that duplicate DiagCtxt methods. 2023-12-24 07:59:21 +11:00
ty.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00