]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/staged-api.staged.stderr
Rollup merge of #93813 - xldenis:public-mir-passes, r=wesleywiser
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / staged-api.staged.stderr
1 error: trait methods cannot be stable const fn
2   --> $DIR/staged-api.rs:22:5
3    |
4 LL | /     fn func() {
5 LL | |
6 LL | |     }
7    | |_____^
8
9 error: aborting due to previous error
10