We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e694807 commit 0b732aaCopy full SHA for 0b732aa
src/test/ui/consts/const_let_refutable.nll.stderr
@@ -4,7 +4,7 @@ error[E0005]: refutable pattern in function argument: `&[]` not covered
4
LL | const fn slice([a, b]: &[i32]) -> i32 {
5
| ^^^^^^ pattern `&[]` not covered
6
7
-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`
8
--> $DIR/const_let_refutable.rs:4:5
9
|
10
LL | a + b
0 commit comments