diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-41394.stderr | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-41394.stderr b/src/test/ui/issues/issue-41394.stderr new file mode 100644 index 000000000..47a24547d --- /dev/null +++ b/src/test/ui/issues/issue-41394.stderr @@ -0,0 +1,18 @@ +error[E0369]: cannot add `{integer}` to `&str` + --> $DIR/issue-41394.rs:2:12 + | +LL | A = "" + 1 + | -- ^ - {integer} + | | + | &str + +error[E0080]: evaluation of constant value failed + --> $DIR/issue-41394.rs:7:9 + | +LL | A = Foo::A as isize + | ^^^^^^^^^^^^^^^ referenced constant has errors + +error: aborting due to 2 previous errors + +Some errors have detailed explanations: E0080, E0369. +For more information about an error, try `rustc --explain E0080`. |