rust/tests/ui/resolve/issue-39559.stderr

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

12 lines
396 B
Plaintext
Raw Normal View History

2020-11-17 10:44:21 +00:00
error: generic parameters may not be used in const operations
--> $DIR/issue-39559.rs:14:18
2018-07-15 21:11:54 +00:00
|
LL | entries: [T; D::dim()],
2020-11-17 10:44:21 +00:00
| ^^^^^^ cannot perform const operation using `D`
2018-07-15 21:11:54 +00:00
|
2020-11-17 10:44:21 +00:00
= note: type parameters may not be used in const expressions
= help: use `#![feature(generic_const_exprs)]` to allow generic const expressions
2018-07-15 21:11:54 +00:00
error: aborting due to previous error