summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/type_not_in_scope.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/type_not_in_scope.rs')
-rw-r--r--tests/ui/const-generics/type_not_in_scope.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/const-generics/type_not_in_scope.rs b/tests/ui/const-generics/type_not_in_scope.rs
index 593370180..917abaed1 100644
--- a/tests/ui/const-generics/type_not_in_scope.rs
+++ b/tests/ui/const-generics/type_not_in_scope.rs
@@ -6,6 +6,5 @@ impl X {
}
fn getn<const N: cfg_attr>() -> [u8; N] {}
//~^ ERROR expected type, found built-in attribute `cfg_attr`
-//~| ERROR mismatched types
fn main() {}