rust/src/test/ui/issues/issue-28586.stderr

10 lines
348 B
Plaintext
Raw Normal View History

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