Joshua Nelson
57c6ed0c07
Fix even more clippy warnings
2020-10-30 10:13:39 -04:00
Florian Warzecha
05f4a9a42a
switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable
2020-10-21 20:54:20 +02:00
Joshua Nelson
96b0446b53
Move PartialOrd
impl out of rustc
...
Rustdoc's ordering requirements are probably not relevant to the rest of
the compiler.
2020-10-11 11:11:33 -04:00
Joshua Nelson
cc0d140bae
Switch rustdoc from clean::Stability
to rustc_attr::Stability
...
This gives greater type safety and is less work to maintain on the
rustdoc end.
2020-10-11 10:04:17 -04:00
xd009642
a6e2b636e6
Implement the instruction_set attribute
2020-10-08 23:32:20 +01:00
Dylan MacKenzie
3cbd17fcc6
Remove rustc_allow_const_fn_ptr
...
This was a hack to work around the lack of an escape hatch for the "min
`const fn`" checks in const-stable functions. Now that we have co-opted
`allow_internal_unstable` for this purpose, we no longer need the
bespoke attribute.
2020-09-27 10:46:41 -07:00
Dániel Buga
54c9c949a1
Allow multiple allow_internal_unstable attributes
...
Co-authored-by: varkor <github@varkor.com>
2020-09-25 15:19:46 +02:00
LingMan
c07890543d
Don't use an if guard to check equality with a constant
...
Match on it directly instead
2020-09-23 00:29:56 +02:00
Matthias Krüger
40dddd3305
use matches!() macro for simple if let conditions
2020-09-18 20:28:35 +02:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00