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 12:15:36 -06:00
--> $DIR/invalid-path-in-const.rs:2:23
|
2018-02-22 18:42:32 -06:00
LL | fn f(a: [u8; u32::DOESNOTEXIST]) {}
2019-03-10 18:20:15 -05:00
| ^^^^^^^^^^^^ associated item not found in `u32`
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0599`.