]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc-2632-const-trait-impl/default-method-body-is-const-same-trait-ck.rs
Rollup merge of #99651 - compiler-errors:fn-and-raw-ptr-in-const-generics, r=oli-obk
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / default-method-body-is-const-same-trait-ck.rs
index d798516ff70fd05608449ff0b7e0c44c39d624e7..f70ecbc3746f992c8b4974a4a6dccc3b950e42f5 100644 (file)
@@ -7,7 +7,6 @@ fn a(&self) {}
     fn b(&self) {
         ().a()
         //~^ ERROR the trait bound
-        //~| ERROR cannot call
     }
 }