Fix borrowed_box lint for Box<Any>
This commit is contained in:
parent
7cdaeae1b8
commit
45ff467c31
3 changed files with 63 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
//! This module contains paths to types and functions Clippy needs to know
|
||||
//! about.
|
||||
|
||||
pub const ANY_TRAIT: [&'static str; 3] = ["std", "any", "Any"];
|
||||
pub const ASMUT_TRAIT: [&'static str; 3] = ["core", "convert", "AsMut"];
|
||||
pub const ASREF_TRAIT: [&'static str; 3] = ["core", "convert", "AsRef"];
|
||||
pub const BEGIN_PANIC: [&'static str; 3] = ["std", "panicking", "begin_panic"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue