Andy Weiss
5b475a4618
Suggest async {} for async || {}
...
Fixes #76011
This adds support for adding help diagnostics to the feature gating checks and
then uses it for the async_closure gate to add the extra bit of help
information as described in the issue.
2020-09-22 13:22:10 -07:00
Matthias Krüger
40dddd3305
use matches!() macro for simple if let conditions
2020-09-18 20:28:35 +02:00
Guillaume Gomez
d069c7e928
Stabilize doc_alias feature
2020-09-14 11:03:47 +02:00
Andreas Jonson
b8752fff19
update the version of itertools and parking_lot
...
this is to avoid compiling multiple version of the crates in rustc
2020-09-12 08:26:53 +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
David Tolnay
fd4dd00dde
Syntactically permit unsafety on mods
2020-09-10 06:56:33 -07:00
Amjad Alsharafi
8f2d9069a8
Implementation of incompatible features error
...
If two features are defined as incompatible, using them together would
result in an error
2020-09-04 22:17:28 +08:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00