vec_box
doesn't take scopes into account
#6236
Labels
C-bug
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
L-suggestion
Lint: Improving, adding or fixing lint suggestions
I tried this code:
I expected to see this happen: Clippy suggests turning
Vec<Box<S>>
intoVec<S>
Instead, this happened: Clippy suggests turning it into
Vec<inner::S>
.Meta
cargo clippy -V
: clippy 0.0.212 (ffa2e7a 2020-10-24)rustc -Vv
:@rustbot modify labels: +A-suggestion +L-suggestion-causes-error
The text was updated successfully, but these errors were encountered: