diff options
Diffstat (limited to 'tests/ui/issues/issue-39211.stderr')
-rw-r--r-- | tests/ui/issues/issue-39211.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-39211.stderr b/tests/ui/issues/issue-39211.stderr new file mode 100644 index 000000000..cd2a014bb --- /dev/null +++ b/tests/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 + |