rust/tests/ui/issues/issue-28586.stderr

10 lines
348 B
Plaintext
Raw Normal View History

2018-07-15 21:11:54 +00:00
error[E0599]: no associated item named `BYTES` found for type `usize` in the current scope
2018-12-07 18:15:36 +00:00
--> $DIR/issue-28586.rs:4:26
2018-07-15 21:11:54 +00:00
|
LL | impl Foo for [u8; usize::BYTES] {}
2019-03-10 23:20:15 +00:00
| ^^^^^ associated item not found in `usize`
2018-07-15 21:11:54 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.