summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-28586.stderr
blob: d19c4af2df7c96ec5292f600eccf68e97ad19f03 (plain)
1
2
3
4
5
6
7
8
9
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`.