rust-lang/rust#45918 has landed, it broke clippy due to changing the
enum. This change replaces the old enum variant with the two new ones.
该提问来源于开源项目:rust-lang/rust-clippy
You're welcome!