rc_buffer
should not be marked as MachineApplicable
#6241
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
I tried this code (https://github.com/rust-lang/rust/blob/0da6d42f297642a60f2640ec313b879b376b9ad8/compiler/rustc_passes/src/liveness.rs#L262):
I expected to see this happen:
rc_buffer
warns, but doesn't change the code since it would also have to change the type ofcapture_info_map
.Instead, this happened:
rc_buffer
tries and fails to substitute the types.Meta
cargo clippy -V
: clippy 0.0.212 (ffa2e7a 2020-10-24)The text was updated successfully, but these errors were encountered: