This is a list of 2021 edition changes that require rust-analyzer support. The list is taken from the official blog post https://blog.rust-lang.org/2021/05/11/edition-2021.html. * [x] Edition-dependent prelude (not fully implemented upstream: https://github.com/rust-lang/rust/pull/85687) – implemented in #9097 * [x] `IntoIterator` for arrays (will be supported automatically, but needs https://github.com/rust-analyzer/rust-analyzer/issues/8552 to correct behavior on 2015/2018 editions) * [x] Panic macro consistency – implemented in https://github.com/rust-analyzer/rust-analyzer/pull/8304 * [ ] Reserve literal prefixes (upstream seems to not have fully agreed on an implementation strategy at this point) * [x] Or-patterns in `macro_rules` – tracked by https://github.com/rust-analyzer/rust-analyzer/issues/9055
This is a list of 2021 edition changes that require rust-analyzer support. The list is taken from the official blog post https://blog.rust-lang.org/2021/05/11/edition-2021.html.
IntoIteratorfor arrays (will be supported automatically, but needs Supportrustc_skip_array_during_method_dispatch#8552 to correct behavior on 2015/2018 editions)panic!()macro #8304macro_rules– tracked by Support 2021 Editionpatmatcher inmacro_rules#9055