Skip to content
Permalink
Browse files

Update ui tests

  • Loading branch information...
oli-obk committed Apr 24, 2019
1 parent b816ec1 commit 28198bb3bea7c7637738588eedda2191852f7796
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/ui/consts/const_let_refutable.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 28198bb

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