diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-39211.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-39211.stderr b/src/test/ui/issues/issue-39211.stderr new file mode 100644 index 000000000..cd2a014bb --- /dev/null +++ b/src/test/ui/issues/issue-39211.stderr @@ -0,0 +1,10 @@ +error: constant expression depends on a generic parameter + --> $DIR/issue-39211.rs:9:17 + | +LL | let a = [3; M::Row::DIM]; + | ^^^^^^^^^^^ + | + = note: this may fail depending on what value the parameter takes + +error: aborting due to previous error + |