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 2cb63f25d06..fd0e9691700 100644
--- a/tests/ui/trait-bounds/maybe-bound-has-path-args.rs
+++ b/tests/ui/trait-bounds/maybe-bound-has-path-args.rs
@@ -1,7 +1,7 @@
 trait Trait {}
 
 fn test<T: ?self::<i32>::Trait>() {}
-//~^ ERROR type arguments are not allowed on this type
+//~^ ERROR type arguments are not allowed on module `maybe_bound_has_path_args`
 //~| WARN relaxing a default bound only does something for `?Sized`
 
 fn main() {}