about summary refs log tree commit diff
path: root/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.stderr
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-02 15:23:46 +0200
committerGitHub <noreply@github.com>2019-06-02 15:23:46 +0200
commitc748c7b3febf5016ed1baa93448512e461dfb685 (patch)
tree42db5a8d00e6c6eb27542825a3522225a2465606 /src/test/ui/const-generics/transparent-maybeunit-array-wrapper.stderr
parent538e17a3fdb517e0cd63f7c16d3292e7d710f7c7 (diff)
parente82cd9528c127aff90d58a25573b9aeb43616c2b (diff)
Rollup merge of #61380 - varkor:expected-usize-got-param, r=eddyb
Fix some issues with `unwrap_usize` instead of `assert_usize`

Fixes https://github.com/rust-lang/rust/issues/61337.
Fixes https://github.com/rust-lang/rust/issues/61341.
Fixes https://github.com/rust-lang/rust/issues/61422.

r? @eddyb
Diffstat (limited to 'src/test/ui/const-generics/transparent-maybeunit-array-wrapper.stderr')
-rw-r--r--src/test/ui/const-generics/transparent-maybeunit-array-wrapper.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.stderr b/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.stderr
new file mode 100644
index 00000000000..661bbd113bc
--- /dev/null
+++ b/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.stderr
@@ -0,0 +1,6 @@
+warning: the feature `const_generics` is incomplete and may cause the compiler to crash
+  --> $DIR/transparent-maybeunit-array-wrapper.rs:3:12
+   |
+LL | #![feature(const_generics)]
+   |            ^^^^^^^^^^^^^^
+