diff options
| author | b-naber <bn263@gmx.de> | 2021-12-05 11:47:07 +0100 |
|---|---|---|
| committer | b-naber <bn263@gmx.de> | 2021-12-05 12:15:31 +0100 |
| commit | 1777f431ad3afa1c19ceed8b11b211dbe18b558c (patch) | |
| tree | 17ddb6d79673d6a727fbec716e6e4f2db7db7597 | |
| parent | 8ff50fe2736d8d33e2c51105cbabf023eff93218 (diff) | |
| download | rust-1777f431ad3afa1c19ceed8b11b211dbe18b558c.tar.gz rust-1777f431ad3afa1c19ceed8b11b211dbe18b558c.zip | |
bless tests
| -rw-r--r-- | src/test/ui/const-generics/generic_const_exprs/closures.stderr | 2 |
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 |
