rust/compiler/rustc_parse
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
..
src Rollup merge of #92746 - estebank:question-mark-in-type, r=davidtwco 2022-01-16 16:58:18 +01:00
Cargo.toml Lint against RTL unicode codepoints in literals and comments 2021-10-31 13:14:04 +01:00