diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2021-02-03 23:56:47 +0100 |
|---|---|---|
| committer | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2021-02-04 00:00:41 +0100 |
| commit | 031cce8cfc7fef922989e8b820da236ee17e016a (patch) | |
| tree | afe497132df25d642bdf58b4e8f32a1a19958f87 /compiler/rustc_feature/src | |
| parent | 50e394a05e3a908e11b4cbeda28b4f8f4c0ea6ed (diff) | |
| download | rust-031cce8cfc7fef922989e8b820da236ee17e016a.tar.gz rust-031cce8cfc7fef922989e8b820da236ee17e016a.zip | |
add `relaxed_struct_unsize` feature gate
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 818f6c70de0..4f38e060023 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -631,6 +631,9 @@ declare_features! ( /// Allows `extern "C-cmse-nonsecure-call" fn()`. (active, abi_c_cmse_nonsecure_call, "1.51.0", Some(81391), None), + + /// Lessens the requirements for structs to implement `Unsize`. + (active, relaxed_struct_unsize, "1.51.0", Some(1), None), // ------------------------------------------------------------------------- // feature-group-end: actual feature gates // ------------------------------------------------------------------------- |
