diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-03-11 12:08:45 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-06-26 13:46:45 +0000 |
| commit | eb7245a864613f290c5668f4f4e8376edd065dc6 (patch) | |
| tree | c31fc679f821ab1d469de7324a71d91f72787cbb /tests/ui/traits/const-traits/const-impl-trait.stderr | |
| parent | 18f4cb11108bbb3119d4ba2a7eb06c80adf6a438 (diff) | |
| download | rust-eb7245a864613f290c5668f4f4e8376edd065dc6.tar.gz rust-eb7245a864613f290c5668f4f4e8376edd065dc6.zip | |
Change const trait bound syntax from ~const to [const]
Diffstat (limited to 'tests/ui/traits/const-traits/const-impl-trait.stderr')
| -rw-r--r-- | tests/ui/traits/const-traits/const-impl-trait.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/traits/const-traits/const-impl-trait.stderr b/tests/ui/traits/const-traits/const-impl-trait.stderr index ee922f9689e..cbb68d8c983 100644 --- a/tests/ui/traits/const-traits/const-impl-trait.stderr +++ b/tests/ui/traits/const-traits/const-impl-trait.stderr @@ -9,8 +9,8 @@ LL | assert!(cmp(&())); note: required by a bound in `cmp` --> $DIR/const-impl-trait.rs:11:23 | -LL | const fn cmp(a: &impl ~const PartialEq) -> bool { - | ^^^^^^^^^^^^^^^^ required by this bound in `cmp` +LL | const fn cmp(a: &impl [const] PartialEq) -> bool { + | ^^^^^^^^^^^^^^^^^ required by this bound in `cmp` error: aborting due to 1 previous error |
