]> git.proxmox.com Git - rustc.git/blob - tests/ui/rfc-2632-const-trait-impl/impl-with-default-fn-fail.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / rfc-2632-const-trait-impl / impl-with-default-fn-fail.stderr
1 error[E0046]: not all trait items implemented, missing: `req`
2 --> $DIR/impl-with-default-fn-fail.rs:12:1
3 |
4 LL | fn req(&self);
5 | -------------- `req` from trait
6 ...
7 LL | impl const Tr for u16 {
8 | ^^^^^^^^^^^^^^^^^^^^^ missing `req` in implementation
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0046`.