about summary refs log tree commit diff
path: root/tests/ui/trait-bounds/maybe-bound-has-path-args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/trait-bounds/maybe-bound-has-path-args.rs')
-rw-r--r--tests/ui/trait-bounds/maybe-bound-has-path-args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/trait-bounds/maybe-bound-has-path-args.rs b/tests/ui/trait-bounds/maybe-bound-has-path-args.rs
index e5abcae5d21..14a26670497 100644
--- a/tests/ui/trait-bounds/maybe-bound-has-path-args.rs
+++ b/tests/ui/trait-bounds/maybe-bound-has-path-args.rs
@@ -2,6 +2,6 @@ trait Trait {}
 
 fn test<T: ?self::<i32>::Trait>() {}
 //~^ ERROR type arguments are not allowed on module `maybe_bound_has_path_args`
-//~| ERROR relaxing a default bound only does something for `?Sized`
+//~| ERROR bound modifier `?` can only be applied to `Sized`
 
 fn main() {}