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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
350 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 1 previous error
2018-07-15 21:11:54 +00:00
For more information about this error, try `rustc --explain E0599`.