gccrs
gccrs copied to clipboard
GCC Front-End for Rust
Other example which should work as soon as we fix the above example: ```rust enum NewTypeOrStruct { One(i32), Two{other: String, value: i32}, } fn foo((NewTypeOrStruct::One(foo) | NewTypeOrStruct::Two{other: _, value: foo}):...
Fixes #3196 * ast/rust-ast-collector.cc (TokenCollector::visit): * ast/rust-ast.h: * lex/rust-token.cc (Token::as_string): * lex/rust-token.h (enum PrimitiveCoreType): * parse/rust-parse-impl.h (Parser::parse_inner_attribute): (Parser::parse_outer_attribute): This PR changes some files in the ast directory as well as...
The goal is to keep track of where a line of documentation is coming from, for various purposes. For now, we lose whether the doc is from slashes or an...
HIR is in a bad state, multiple efforts could be started to improve the current situation. One of those could reduce the amount of code by removing boilerplate code within...