diff --git a/tests/ui/unnecessary_wrap.rs b/tests/ui/unnecessary_wrap.rs index 112086904282..58178e2e04b9 100644 --- a/tests/ui/unnecessary_wrap.rs +++ b/tests/ui/unnecessary_wrap.rs @@ -102,7 +102,7 @@ fn func13() -> Option { } } -impl A for B { +impl B for A { // trait impls are not linted fn func13() -> Option { Some(0)