This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit fa77c81
authored
Unrolled build for rust-lang#127407
Rollup merge of rust-lang#127407 - estebank:parser-suggestions, r=oli-obk
Make parse error suggestions verbose and fix spans
Go over all structured parser suggestions and make them verbose style.
When suggesting to add or remove delimiters, turn them into multiple suggestion parts.166 files changed
Lines changed: 3052 additions & 777 deletions
File tree
- compiler/rustc_parse
- src
- parser
- tests
- rustdoc-ui/doctest
- ui
- async-await/await-keyword
- attributes
- conditional-compilation
- consts/const-eval
- coverage-attr
- did_you_mean
- enum
- error-codes
- expr/if/attrs
- extern
- fmt
- fn
- generics
- half-open-range-patterns
- impl-trait
- issues
- label
- lexer
- macros
- malformed
- object-safety
- operator-recovery
- or-patterns
- parser
- attribute
- char
- issues
- macro
- recover
- removed-syntax
- pattern
- bindings-after-at
- pub
- range
- rfcs/rfc-0000-never_patterns
- self
- structs
- suggestions
- typeck
- type
- ascription
- pattern_types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
| 326 | + | |
328 | 327 | | |
329 | | - | |
| 328 | + | |
| 329 | + | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
0 commit comments