mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Set bare_trait_objects lint to warn
This commit is contained in:
parent
dc6db14e1c
commit
54e10558b4
@ -255,7 +255,7 @@ declare_lint! {
|
||||
|
||||
declare_lint! {
|
||||
pub BARE_TRAIT_OBJECTS,
|
||||
Allow,
|
||||
Warn,
|
||||
"suggest using `dyn Trait` for trait objects"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user