Commit 4b8856f
committed
Catch tokens different from IDENTIFIER
gcc/rust/ChangeLog:
* parse/rust-parse-impl.h: (parse_bare_function_type) broadens check
gcc/testsuite/ChangeLog:
* rust/compile/invalid_impl_for.rs: broadens regex
Signed-off-by: Lúcio Boari Fleury <lucboari@gmail.com>1 parent 13e0940 commit 4b8856f
File tree
2 files changed
+2
-2
lines changed- gcc
- rust/parse
- testsuite/rust/compile
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9671 | 9671 | | |
9672 | 9672 | | |
9673 | 9673 | | |
9674 | | - | |
| 9674 | + | |
9675 | 9675 | | |
9676 | 9676 | | |
9677 | 9677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
0 commit comments