rust/compiler/rustc_parse/src
Matthias Krüger 9323a0d1be
Rollup merge of #92746 - estebank:question-mark-in-type, r=davidtwco
Parse `Ty?` as `Option<Ty>` and provide structured suggestion

Swift has specific syntax that desugars to `Option<T>` similar to our
`?` operator, which means that people might try to use it in Rust. Parse
it and gracefully recover.
2022-01-16 16:58:18 +01:00
..
lexer review comment: plural of emoji is emoji 2021-11-23 20:36:19 +00:00
parser Rollup merge of #92746 - estebank:question-mark-in-type, r=davidtwco 2022-01-16 16:58:18 +01:00
lib.rs expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
validate_attr.rs rustc_feature: Convert BuiltinAttribute from tuple to a struct 2021-11-12 20:15:14 +08:00