Matthias Krüger
cf10a0abf2
fix clippy::unnecessary_filter_map
2020-12-11 23:02:19 +01:00
Vadim Petrochenkov
d575aa4d58
expand: Mark some dead code in derive expansion as unreachable
2020-11-19 19:25:20 +03:00
Vadim Petrochenkov
90fafc8c8f
rustc_ast: visit_mac
-> visit_mac_call
2020-11-03 23:39:51 +03:00
Tomasz Miąsko
50da126557
Remove unnecessary unsafe block around calls to discriminant_value
...
Since 63793 the discriminant_value intrinsic is safe to call. Remove
unnecessary unsafe block around calls to this intrinsic in built-in
derive macros.
2020-10-11 00:00:00 +00:00
Matthias Krüger
40dddd3305
use matches!() macro for simple if let conditions
2020-09-18 20:28:35 +02:00
Aaron Hill
c1011165e6
Attach TokenStream
to ast::Visibility
...
A `Visibility` does not have outer attributes, so we only capture tokens
when parsing a `macro_rules!` matcher
2020-09-10 17:33:06 -04:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00