diff options
| author | Boxy <supbscripter@gmail.com> | 2024-07-14 13:38:51 +0100 |
|---|---|---|
| committer | Boxy <rust@boxyuwu.dev> | 2024-07-17 11:01:29 +0100 |
| commit | d0c11bf6e3fea61711af107c896a763a71606340 (patch) | |
| tree | b4f60d4dc48e8e63b5404961397198b282010102 /tests/ui/const-generics/float-generic.rs | |
| parent | 42cc42b942088a94d95bc5169724d77429f20582 (diff) | |
| download | rust-d0c11bf6e3fea61711af107c896a763a71606340.tar.gz rust-d0c11bf6e3fea61711af107c896a763a71606340.zip | |
Split part of `adt_const_params` into `unsized_const_params`
Diffstat (limited to 'tests/ui/const-generics/float-generic.rs')
| -rw-r--r-- | tests/ui/const-generics/float-generic.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/const-generics/float-generic.rs b/tests/ui/const-generics/float-generic.rs index aaf63a93d70..f92e1667701 100644 --- a/tests/ui/const-generics/float-generic.rs +++ b/tests/ui/const-generics/float-generic.rs @@ -1,4 +1,6 @@ -//@ revisions: simple adt_const_params +//@ revisions: simple adt_const_params full +#![cfg_attr(full, feature(adt_const_params, unsized_const_params))] +#![cfg_attr(full, allow(incomplete_features))] #![cfg_attr(adt_const_params, feature(adt_const_params))] #![cfg_attr(adt_const_params, allow(incomplete_features))] |
