diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-25 13:48:26 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-25 13:48:46 +0100 |
commit | 8046190e8f537407210fb87acbfe96d4084d58da (patch) | |
tree | 34c093627f5fd75db82cb8fb48402b82ace7d803 /ui-tests/src/bin | |
parent | 74a29b912aaa14dbeb7e5c51ae11c61e733ef645 (diff) |
support Self qualified as same trait
Diffstat (limited to 'ui-tests/src/bin')
-rw-r--r-- | ui-tests/src/bin/qualified_self.stderr | 6 | ||||
-rw-r--r-- | ui-tests/src/bin/qualified_self_opt.stderr | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ui-tests/src/bin/qualified_self.stderr b/ui-tests/src/bin/qualified_self.stderr index 1b5f9f9..d8c3a37 100644 --- a/ui-tests/src/bin/qualified_self.stderr +++ b/ui-tests/src/bin/qualified_self.stderr @@ -1,5 +1,5 @@ -error: dynamize does not support associated types of a qualified Self - --> src/bin/qualified_self.rs:7:24 +error: dynamize does not support Self qualified as another trait + --> src/bin/qualified_self.rs:7:32 | 7 | fn test(&self) -> <Self as Foo>::X; - | ^^^^ + | ^^^ diff --git a/ui-tests/src/bin/qualified_self_opt.stderr b/ui-tests/src/bin/qualified_self_opt.stderr index e032be5..dd99406 100644 --- a/ui-tests/src/bin/qualified_self_opt.stderr +++ b/ui-tests/src/bin/qualified_self_opt.stderr @@ -1,5 +1,5 @@ -error: dynamize does not support associated types of a qualified Self - --> src/bin/qualified_self_opt.rs:7:31 +error: dynamize does not support Self qualified as another trait + --> src/bin/qualified_self_opt.rs:7:39 | 7 | fn test(&self) -> Option<<Self as Foo>::X>; - | ^^^^ + | ^^^ |