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

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

8 lines
154 B
Rust
Raw Normal View History

2015-11-03 01:44:08 +00:00
// Regression test for issue #28586
pub trait Foo {}
impl Foo for [u8; usize::BYTES] {}
//~^ ERROR no associated item named `BYTES` found
2015-11-03 01:44:08 +00:00
fn main() { }