rust/src/test
Matthias Krüger a26c2c7495
Rollup merge of #91140 - nbdd0121:const_typeck, r=oli-obk
Split inline const to two feature gates and mark expression position inline const complete

This PR splits inline const in pattern position into its own `#![feature(inline_const_pat)]` feature gate, and make the usage in expression position complete.

I think I have resolved most outstanding issues related to `inline_const` with #89561 and other PRs. The only thing left that I am aware of is #90150 and the lack of lifetime checks when inline const is used in pattern position (FIXME in #89561). Implementation-wise when used in pattern position it has to be lowered during MIR building while in expression position it's evaluated only when monomorphizing (just like normal consts), so it makes some sense to separate it into two feature gates so one can progress without being blocked by another.

``@rustbot`` label: T-compiler F-inline_const
2021-11-23 19:28:10 +01:00
..
assembly add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
auxiliary
codegen add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
codegen-units Collect panic/panic_bounds_check during monomorphization 2021-10-30 18:21:44 +01:00
debuginfo Fix function-names test for GDB 10.1 2021-10-11 17:20:45 +02:00
incremental Simplify for loop desugar 2021-11-21 08:15:21 -06:00
mir-opt Simplify for loop desugar 2021-11-21 08:15:21 -06:00
pretty Don't destructure args tuple in format_args! 2021-11-06 14:28:08 -05:00
run-make Auto merge of #83846 - torhovland:issue-10971, r=davidtwco 2021-11-11 02:52:32 +00:00
run-make-fulldeps Bless coverage tests 2021-11-21 14:55:36 -06:00
run-pass-valgrind
rustdoc Auto merge of #91094 - inquisitivecrystal:rustdoc-top-mod, r=jyn514 2021-11-23 03:13:26 +00:00
rustdoc-gui Rollup merge of #91103 - jsha:non-toggle-click-doesnt-toggle, r=Manishearth,GuillaumeGomez 2021-11-23 19:28:07 +01:00
rustdoc-js Fix invalid handling of generics 2021-10-29 20:54:15 +02:00
rustdoc-js-std Fix linkcheck issues 2021-09-12 02:30:24 +00:00
rustdoc-json Add regression test for #89852 2021-10-14 02:12:18 +02:00
rustdoc-ui rustdoc doctest: detect fn main after an unexpected semicolon 2021-11-18 16:23:18 -07:00
ui Rollup merge of #91140 - nbdd0121:const_typeck, r=oli-obk 2021-11-23 19:28:10 +01:00
ui-fulldeps Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
COMPILER_TESTS.md