Commit e3231ef
committed
gccrs: fix cfg attribute without parentheses error
gcc/rust/ChangeLog:
* ast/rust-ast.cc (Attribute::check_cfg_predicate):
gcc/testsuite/ChangeLog:
* rust/compile/issue-4262.rs: New test.
Signed-off-by: Lucas Ly Ba <lucas.ly-ba@outlook.com>1 parent 61a6ea8 commit e3231ef
2 files changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4160 | 4160 | | |
4161 | 4161 | | |
4162 | 4162 | | |
4163 | | - | |
4164 | | - | |
4165 | | - | |
| 4163 | + | |
4166 | 4164 | | |
4167 | | - | |
4168 | | - | |
4169 | | - | |
4170 | | - | |
4171 | | - | |
4172 | | - | |
| 4165 | + | |
| 4166 | + | |
4173 | 4167 | | |
4174 | 4168 | | |
4175 | 4169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments