about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-04-24 16:12:53 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-05-25 10:07:02 +0200
commit28198bb3bea7c7637738588eedda2191852f7796 (patch)
tree8ab1ebac0006e7e3f3496eaccedebba734a30897
parentb816ec1eb439c6cae2f4f99327b30a126e10540c (diff)
downloadrust-28198bb3bea7c7637738588eedda2191852f7796.tar.gz
rust-28198bb3bea7c7637738588eedda2191852f7796.zip
Update ui tests
-rw-r--r--src/test/ui/consts/const_let_refutable.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/const_let_refutable.stderr b/src/test/ui/consts/const_let_refutable.stderr
index 2ca76667bd1..cdd696ee7fb 100644
--- a/src/test/ui/consts/const_let_refutable.stderr
+++ b/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