Michael Wright a6d8afd958 Fix range_{plus,minus}_one bad suggestions
Fixes #9431.

The current `range_plus_one` and `range_minus_one` suggestions
are completely incorrect when macros are involved.

This commit resolves this by disabling the lints for any range
expression that is expanded from a macro. The reasons for this
are that it is very difficult to create a correct suggestion in
this case and that false negatives are less important for
pedantic lints.
2022-09-08 20:04:43 +02:00
..
2022-09-01 23:23:56 +02:00
2022-09-07 10:00:45 -03:00
2022-04-06 19:25:58 +02:00
2022-08-21 10:24:30 +02:00
2022-08-16 18:34:51 -04:00
2022-08-16 18:34:51 -04:00
2022-08-16 15:53:01 -04:00
2022-08-16 15:53:01 -04:00
2022-08-16 18:34:51 -04:00