Update nll ui tests

This commit is contained in:
Oliver Scherer 2019-05-25 17:21:29 +02:00
parent e694807650
commit 0b732aa607
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ error[E0005]: refutable pattern in function argument: `&[]` not covered
LL | const fn slice([a, b]: &[i32]) -> i32 {
| ^^^^^^ pattern `&[]` not covered
error[E0723]: can only call other `const fn` within a `const fn`, but `const std::ops::Add::add` is not stable as `const fn`
error[E0723]: can only call other `const fn` within a `const fn`, but `const <&i32 as std::ops::Add>::add` is not stable as `const fn`
--> $DIR/const_let_refutable.rs:4:5
|
LL | a + b