X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fimpl-trait%2Fwhere-allowed.stderr;h=58a2f79efb4c643e5f0cecdfbbb25faf395064b1;hb=bdbf0998f3e6f323b680594cad66c7e792c861f4;hp=eef20c2de94bc7b0b4f5b83ba9cea83b68e8be46;hpb=419df99e1824a5b65eb0c6d67850dfe014b019fa;p=rust.git diff --git a/src/test/ui/impl-trait/where-allowed.stderr b/src/test/ui/impl-trait/where-allowed.stderr index eef20c2de94..58a2f79efb4 100644 --- a/src/test/ui/impl-trait/where-allowed.stderr +++ b/src/test/ui/impl-trait/where-allowed.stderr @@ -293,7 +293,7 @@ error: defaults for type parameters are only allowed in `struct`, `enum`, `type` --> $DIR/where-allowed.rs:234:7 | LL | impl T {} - | ^ + | ^^^^^^^^^^^^^^ | = note: `#[deny(invalid_type_param_default)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! @@ -303,7 +303,7 @@ error: defaults for type parameters are only allowed in `struct`, `enum`, `type` --> $DIR/where-allowed.rs:241:36 | LL | fn in_method_generic_param_default(_: T) {} - | ^ + | ^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #36887