rust/tests/ui/invalid/invalid-path-in-const.stderr

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

10 lines
370 B
Plaintext
Raw Normal View History

error[E0599]: no associated item named `DOESNOTEXIST` found for type `u32` in the current scope
2018-12-07 18:15:36 +00:00
--> $DIR/invalid-path-in-const.rs:2:23
|
2018-02-23 00:42:32 +00:00
LL | fn f(a: [u8; u32::DOESNOTEXIST]) {}
2019-03-10 23:20:15 +00:00
| ^^^^^^^^^^^^ associated item not found in `u32`
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0599`.