diff options
| author | bors <bors@rust-lang.org> | 2021-07-27 16:24:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-27 16:24:45 +0000 |
| commit | fd853c00e255559255885aadff9e93a1760c8728 (patch) | |
| tree | 49fd574977dbf99203919c48b27fb35438117d0b /compiler/rustc_feature/src | |
| parent | 3bc9dd0dd293ab82945e35888ed6d7ab802761ef (diff) | |
| parent | 8759f00c73641d44b3ab7a2290e3c58168d3e30f (diff) | |
| download | rust-fd853c00e255559255885aadff9e93a1760c8728.tar.gz rust-fd853c00e255559255885aadff9e93a1760c8728.zip | |
Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr
Add hir::GenericArg::Infer In order to extend inference to consts, make an Infer type on hir::GenericArg.
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 952fe3f9f81..803e4a2e59d 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -680,6 +680,9 @@ declare_features! ( /// Allows `cfg(target_abi = "...")`. (active, cfg_target_abi, "1.55.0", Some(80970), None), + /// Infer generic args for both consts and types. + (active, generic_arg_infer, "1.55.0", Some(85077), None), + // ------------------------------------------------------------------------- // feature-group-end: actual feature gates // ------------------------------------------------------------------------- |
