Skip to content

Commit 003c5b7

Browse files
committed
Fixed nll stderr file.
1 parent e14ff9b commit 003c5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/consts/const-eval/dont_promote_unstable_const_fn.nll.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: `foo` is not yet stable as a const fn
44
LL | const fn bar() -> u32 { foo() } //~ ERROR `foo` is not yet stable as a const fn
55
| ^^^^^
66
|
7-
= help: in Nightly builds, add `#![feature(foo)]` to the crate attributes to enable
7+
= help: add `#![feature(foo)]` to the crate attributes to enable
88

99
error[E0716]: temporary value dropped while borrowed
1010
--> $DIR/dont_promote_unstable_const_fn.rs:28:28

0 commit comments

Comments
 (0)