1
Fork 0

Rollup merge of #134754 - frank-king:feature/import_trait_associated_functions, r=oli-obk

Implement `use` associated items of traits

This PR implements #134691.
This commit is contained in:
Matthias Krüger 2025-01-16 18:46:08 +01:00 committed by GitHub
commit 62d0f457d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 374 additions and 42 deletions

View file

@ -521,6 +521,8 @@ declare_features! (
(unstable, impl_trait_in_bindings, "1.64.0", Some(63065)),
/// Allows `impl Trait` as output type in `Fn` traits in return position of functions.
(unstable, impl_trait_in_fn_trait_return, "1.64.0", Some(99697)),
/// Allows `use` associated functions from traits.
(unstable, import_trait_associated_functions, "CURRENT_RUSTC_VERSION", Some(134691)),
/// Allows associated types in inherent impls.
(incomplete, inherent_associated_types, "1.52.0", Some(8995)),
/// Allow anonymous constants from an inline `const` block in pattern position