about summary refs log tree commit diff
path: root/tests/ui/const-generics/not_wf_param_in_rpitit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/not_wf_param_in_rpitit.rs')
-rw-r--r--tests/ui/const-generics/not_wf_param_in_rpitit.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/ui/const-generics/not_wf_param_in_rpitit.rs b/tests/ui/const-generics/not_wf_param_in_rpitit.rs
index b454562ad49..cb1e90923e7 100644
--- a/tests/ui/const-generics/not_wf_param_in_rpitit.rs
+++ b/tests/ui/const-generics/not_wf_param_in_rpitit.rs
@@ -3,9 +3,6 @@
 trait Trait<const N: dyn Trait = bar> {
     //~^ ERROR: cannot find value `bar` in this scope
     //~| ERROR: cycle detected when computing type of `Trait::N`
-    //~| ERROR: the trait `Trait` cannot be made into an object
-    //~| ERROR: the trait `Trait` cannot be made into an object
-    //~| ERROR: the trait `Trait` cannot be made into an object
     async fn a() {}
 }