]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const-generics/parent_generics_of_encoding_impl_trait.rs
Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup
[rust.git] / src / test / ui / const-generics / parent_generics_of_encoding_impl_trait.rs
index ed81c01bb1726ee09bf9b74b66d7899baad34aee..7a78e0f109ca74e0c8073996bbc789dfcd5fdcb5 100644 (file)
@@ -7,5 +7,5 @@
 fn main() {
     // check for `impl Trait<{ const }>` which has a parent of a `DefKind::TyParam`
     generics_of_parent_impl_trait::foo([()]);
-    //~^ error: type annotations needed:
+    //~^ error: type annotations needed
 }