rust/tests/ui/issues/issue-28586.stderr
2023-01-11 09:32:08 +00:00

9 lines
348 B
Text

error[E0599]: no associated item named `BYTES` found for type `usize` in the current scope
--> $DIR/issue-28586.rs:4:26
|
LL | impl Foo for [u8; usize::BYTES] {}
| ^^^^^ associated item not found in `usize`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.