Skip to content

Commit

Permalink
Set bare_trait_objects lint to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
memoryruins committed May 28, 2019
1 parent dc6db14 commit 54e1055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/lint/builtin.rs
Expand Up @@ -255,7 +255,7 @@ declare_lint! {

declare_lint! {
pub BARE_TRAIT_OBJECTS,
Allow,
Warn,
"suggest using `dyn Trait` for trait objects"
}

Expand Down

0 comments on commit 54e1055

Please sign in to comment.