]> git.lizzy.rs Git - rust.git/commit
Auto merge of #12324 - jonas-schievink:rm-attribute, r=jonas-schievink
authorbors <bors@rust-lang.org>
Fri, 20 May 2022 12:57:08 +0000 (12:57 +0000)
committerbors <bors@rust-lang.org>
Fri, 20 May 2022 12:57:08 +0000 (12:57 +0000)
commit7f226fc9125a2ce7f8df020c68d81c16ff4061f0
tree13d3af3112483edccc1a3cc9dd9f811d57a3c4d1
parent4bad1956a0b28002108f987d87a374ead9f8cfec
parente52d463524ced7b7f6752626d8096b9483e04cc2
Auto merge of #12324 - jonas-schievink:rm-attribute, r=jonas-schievink

feat: Revert the "Add attribute" assist

Reverts https://github.com/rust-lang/rust-analyzer/pull/12296, as the added indirection and "assist noise" (the assist has to trigger inside the body of an item to match what the "Add `#[derive]`" does) makes this not really pull its weight over just using attribute completions.

Keeps the changes to "Add getter". `#[must_use]` can be applied using the attribute completions.