From 0b732aa6071fd165d8f2c0972495b5e058699b47 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Sat, 25 May 2019 17:21:29 +0200 Subject: [PATCH] Update nll ui tests --- src/test/ui/consts/const_let_refutable.nll.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/consts/const_let_refutable.nll.stderr b/src/test/ui/consts/const_let_refutable.nll.stderr index 30ab1f4d5ec..3cc6de5bc42 100644 --- a/src/test/ui/consts/const_let_refutable.nll.stderr +++ b/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