]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc-2632-const-trait-impl/default-method-body-is-const-body-checking.rs
Improve selection errors for `~const` trait bounds
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / default-method-body-is-const-body-checking.rs
index 7db04fe1ac3f13646867dfd513993bd037b942bf..76ea17159ac79d57e5c279b98264decb59afaf06 100644 (file)
@@ -10,7 +10,7 @@ pub trait Foo {
     #[default_method_body_is_const]
     fn foo() {
         foo::<()>();
-        //~^ ERROR the trait bound `(): Tr` is not satisfied
+        //~^ ERROR the trait bound `(): ~const Tr` is not satisfied
     }
 }