about summary refs log tree commit diff
diff options
context:
space:
mode:
authorb-naber <bn263@gmx.de>2021-12-05 11:47:07 +0100
committerb-naber <bn263@gmx.de>2021-12-05 12:15:31 +0100
commit1777f431ad3afa1c19ceed8b11b211dbe18b558c (patch)
tree17ddb6d79673d6a727fbec716e6e4f2db7db7597
parent8ff50fe2736d8d33e2c51105cbabf023eff93218 (diff)
downloadrust-1777f431ad3afa1c19ceed8b11b211dbe18b558c.tar.gz
rust-1777f431ad3afa1c19ceed8b11b211dbe18b558c.zip
bless tests
-rw-r--r--src/test/ui/const-generics/generic_const_exprs/closures.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/const-generics/generic_const_exprs/closures.stderr b/src/test/ui/const-generics/generic_const_exprs/closures.stderr
index 0dfd804be41..18010413b93 100644
--- a/src/test/ui/const-generics/generic_const_exprs/closures.stderr
+++ b/src/test/ui/const-generics/generic_const_exprs/closures.stderr
@@ -4,7 +4,7 @@ error: overly complex generic constant
 LL | fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
    |                                   ^^^^-------^^
    |                                       |
-   |                                       dereferencing is not supported in generic constants
+   |                                       borrowing is not supported in generic constants
    |
    = help: consider moving this anonymous constant into a `const` function
    = note: this operation may be supported in the future