diff options
| author | bors <bors@rust-lang.org> | 2024-03-03 14:01:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-03 14:01:47 +0000 |
| commit | 26907374b9478d84d766aea85b10b51af8dbcce8 (patch) | |
| tree | be19b487d32e4a2a022f3bde10e3b36aa61e1630 /compiler/rustc_feature/src/unstable.rs | |
| parent | 9e73597e5a83e96e223c10b3810566c74a86a0c1 (diff) | |
| parent | e634a0a51b088bd8df4e07d2f2666daabb01e338 (diff) | |
| download | rust-26907374b9478d84d766aea85b10b51af8dbcce8.tar.gz rust-26907374b9478d84d766aea85b10b51af8dbcce8.zip | |
Auto merge of #121937 - GuillaumeGomez:rollup-9684vg3, r=GuillaumeGomez
Rollup of 3 pull requests Successful merges: - #121917 (Add new `pattern_complexity` attribute to add possibility to limit and check recursion in pattern matching) - #121933 (Add missing get_name for wasm::thread.) - #121934 (rustc_log: expose tracing-tree "wraparound" in an env var) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_feature/src/unstable.rs')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 53254d567cc..17c4d81474e 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -213,6 +213,8 @@ declare_features! ( (internal, negative_bounds, "1.71.0", None), /// Allows using `#[omit_gdb_pretty_printer_section]`. (internal, omit_gdb_pretty_printer_section, "1.5.0", None), + /// Set the maximum pattern complexity allowed (not limited by default). + (internal, pattern_complexity, "CURRENT_RUSTC_VERSION", None), /// Allows using `#[prelude_import]` on glob `use` items. (internal, prelude_import, "1.2.0", None), /// Used to identify crates that contain the profiler runtime. |
