Skip to content
Permalink
Browse files

Update nll ui tests

  • Loading branch information...
oli-obk committed May 25, 2019
1 parent e694807 commit 0b732aa6071fd165d8f2c0972495b5e058699b47
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/ui/consts/const_let_refutable.nll.stderr
@@ -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

0 comments on commit 0b732aa

Please sign in to comment.
You can’t perform that action at this time.