diff options
| author | Nathaniel McCallum <nathaniel@mccallum.life> | 2025-08-31 22:26:10 -0400 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2025-09-06 04:35:52 +0200 |
| commit | 00fcb14e4e6e4fb28fde6a286fd9ac30a2d457c7 (patch) | |
| tree | 00d1276f71461788745df2b5cc15af546d3d3e76 /tests/ui/traits/const-traits/reservation-impl-ice.rs | |
| parent | 6c699a37235700ab749e3f14147fe41d49c056e8 (diff) | |
| download | rust-00fcb14e4e6e4fb28fde6a286fd9ac30a2d457c7.tar.gz rust-00fcb14e4e6e4fb28fde6a286fd9ac30a2d457c7.zip | |
clean up some old const trait impl syntax
Diffstat (limited to 'tests/ui/traits/const-traits/reservation-impl-ice.rs')
| -rw-r--r-- | tests/ui/traits/const-traits/reservation-impl-ice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/const-traits/reservation-impl-ice.rs b/tests/ui/traits/const-traits/reservation-impl-ice.rs index 7fefb4ec543..3fbfe8c950d 100644 --- a/tests/ui/traits/const-traits/reservation-impl-ice.rs +++ b/tests/ui/traits/const-traits/reservation-impl-ice.rs @@ -1,7 +1,7 @@ //@ compile-flags: -Znext-solver #![feature(const_convert, never_type, const_trait_impl)] -const fn impls_from<T: ~const From<!>>() {} +const fn impls_from<T: [const] From<!>>() {} const fn foo() { // This previously ICE'd when encountering the reservation impl |
