diff --git a/src/test/ui/impl-trait/where-allowed.rs b/src/test/ui/impl-trait/where-allowed.rs index 2891cd59e3e..69f6d202f14 100644 --- a/src/test/ui/impl-trait/where-allowed.rs +++ b/src/test/ui/impl-trait/where-allowed.rs @@ -125,7 +125,7 @@ trait InTraitDefnReturn { // Allowed and disallowed in trait impls trait DummyTrait { type Out; - fn in_trait_impl_parameter(impl Debug); + fn in_trait_impl_parameter(_: impl Debug); fn in_trait_impl_return() -> Self::Out; } impl DummyTrait for () {