1
Fork 0
rust/compiler/rustc_parse/src
Noah Lev 86220d6e51 Fix rustfix panic on test
`run-rustfix` applies all suggestions regardless of their Applicability.
There's a flag, `rustfix-only-machine-applicable`, that does what it
says, but then the produced `.fixed` file would have invalid code from
the suggestions that weren't applied. So, I moved the cases of postfix
increment, in which case multiple suggestions are given, to the
`-notfixed` test, which does not run rustfix.

I also changed the Applicability to Unspecified since MaybeIncorrect
requires that the code be valid, even if it's incorrect.
2022-03-23 22:31:57 -07:00
..
lexer rustc_error: make ErrorReported impossible to construct 2022-03-16 10:35:24 -05:00
parser Fix rustfix panic on test 2022-03-23 22:31:57 -07:00
lib.rs Associate multiple with a crate too. 2022-03-03 18:45:25 -05:00
validate_attr.rs rustc_feature: Convert BuiltinAttribute from tuple to a struct 2021-11-12 20:15:14 +08:00