Danuel
8bbb2d057d
Fixed #[inline] to be warned in fields, arms, macro defs
...
Add visitors for checking #[inline]
Add visitors for checking #[inline] with struct field
Fix test for #[inline]
Add visitors for checking #[inline] with #[macro_export] macro
Add visitors for checking #[inline] without #[macro_export] macro
Add use alias with Visitor
Fix lint error
Reduce unnecessary variable
Co-authored-by: LingMan <LingMan@users.noreply.github.com>
Change error to warning
Add warning for checking field, arm with #[allow_internal_unstable]
Add name resolver
Formatting
Formatting
Fix error fixture
Add checking field, arm, macro def
2021-02-01 23:36:19 +09: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
Dylan MacKenzie
0f594698aa
Bless tests
2020-09-24 12:07:58 -07:00
Oliver Scherer
dd872be5da
Stabilize transmute in constants and statics but not const fn
2020-07-11 09:22:17 +02:00
Dylan MacKenzie
d84f0c8d32
Update tests
2020-06-28 10:08:12 -07:00
Dylan MacKenzie
d6139f76c0
Update tests
2020-06-28 10:08:10 -07:00
Matthias Prechtl
7b555178ae
--bless --compare-mode=nll
2020-02-09 20:43:49 +01:00
Eduard-Mihai Burtescu
4c7eb59e81
rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
2020-02-06 21:46:38 +02:00
Eduard-Mihai Burtescu
f6fc80206e
rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace.
2020-02-06 21:32:07 +02:00
Dylan MacKenzie
1d418a1191
Test that stable const fn requires allow_internal_unstable
2020-01-10 18:51:42 -08:00
Ross MacArthur
f7256d28d1
Require issue = "none" over issue = "0" in unstable attributes
2019-12-21 13:16:18 +02:00
Samy Kacimi
41e71b0c93
normalize use of backticks in compiler messages for libsyntax/feature_gate
...
https://github.com/rust-lang/rust/issues/60532
2019-07-09 14:13:28 +02:00
Vadim Petrochenkov
fa72a81bea
Update tests
2019-03-11 23:10:26 +03:00
Oliver Scherer
d3c212c552
Require a list of features to allow in allow_internal_unstable
2019-02-11 15:08:16 +01:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00