about summary refs log tree commit diff
path: root/tests/ui/const-generics
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-04-09 23:16:57 +0200
committerUrgau <urgau@numericable.fr>2024-04-09 23:58:18 +0200
commit0c3f5cce891d36d596a4ed2a8b8d1402d5287c31 (patch)
treee435952f26e5667df8fb0f38a304b45bfcfa3829 /tests/ui/const-generics
parent033becf83c62814357f4810db149471db46ab816 (diff)
downloadrust-0c3f5cce891d36d596a4ed2a8b8d1402d5287c31.tar.gz
rust-0c3f5cce891d36d596a4ed2a8b8d1402d5287c31.zip
Further cleanup cfgs in the UI test suite
This commit does three things:
 1. replaces (the last remaining) never true cfgs by the FALSE cfg
 2. fix derive-helper-configured.rs (typo in directive)
 3. and comment some current unused #[cfg_attr] (missing revisions)
Diffstat (limited to 'tests/ui/const-generics')
-rw-r--r--tests/ui/const-generics/const-arg-in-const-arg.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/const-generics/const-arg-in-const-arg.rs b/tests/ui/const-generics/const-arg-in-const-arg.rs
index 6d30943ab7e..27b74489fe8 100644
--- a/tests/ui/const-generics/const-arg-in-const-arg.rs
+++ b/tests/ui/const-generics/const-arg-in-const-arg.rs
@@ -2,8 +2,8 @@
 // we use a single revision because this should have a `full` revision
 // but right now that ICEs and I(@BoxyUwU) could not get stderr normalization to work
 
-#![cfg_attr(full, feature(generic_const_exprs))]
-#![cfg_attr(full, allow(incomplete_features))]
+// #![cfg_attr(full, feature(generic_const_exprs))]
+// #![cfg_attr(full, allow(incomplete_features))]
 
 const fn foo<T>() -> usize { std::mem::size_of::<T>() }
 const fn bar<const N: usize>() -> usize { N }