diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-28586.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-28586.stderr b/src/test/ui/issues/issue-28586.stderr new file mode 100644 index 000000000..d19c4af2d --- /dev/null +++ b/src/test/ui/issues/issue-28586.stderr @@ -0,0 +1,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`. |