diff options
| author | bors <bors@rust-lang.org> | 2023-02-25 16:10:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-25 16:10:58 +0000 |
| commit | 289208bc9fb08704db37c6ce0fb700bbfb3b7099 (patch) | |
| tree | 82cd1eeaa269a027b8193517948fa66e2685ee2c /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | 9a4efb4cc3f6516d27c246bdb414e99bb916b554 (diff) | |
| parent | 44e47fe4083adbd35889da7a6489ec3252a4f04b (diff) | |
| download | rust-289208bc9fb08704db37c6ce0fb700bbfb3b7099.tar.gz rust-289208bc9fb08704db37c6ce0fb700bbfb3b7099.zip | |
Auto merge of #14203 - shilangyu:fix/angled-path-segments, r=lnicola
fix: Add check for extra path segments after a fully qualified one `type A = <()>;` is parsed just fine by rust-analyzer, but then rejected by rustc: ``` error: expected `::`, found `;` --> x.rs:7:14 | 7 | type A = <()>; | ^ expected `::` ``` Fixed by adding a lookahead for the `::` token after fully-qualified path segments.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
