From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../issue-81712-cyclic-traits.stderr | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/test/ui/generic-associated-types/issue-81712-cyclic-traits.stderr (limited to 'src/test/ui/generic-associated-types/issue-81712-cyclic-traits.stderr') diff --git a/src/test/ui/generic-associated-types/issue-81712-cyclic-traits.stderr b/src/test/ui/generic-associated-types/issue-81712-cyclic-traits.stderr new file mode 100644 index 000000000..86c99c32f --- /dev/null +++ b/src/test/ui/generic-associated-types/issue-81712-cyclic-traits.stderr @@ -0,0 +1,19 @@ +error[E0107]: missing generics for associated type `C::DType` + --> $DIR/issue-81712-cyclic-traits.rs:16:19 + | +LL | type CType: C; + | ^^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-81712-cyclic-traits.rs:13:10 + | +LL | type DType: D; + | ^^^^^ - +help: add missing generic argument + | +LL | type CType: C = Self>; + | ~~~~~~~~ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0107`. -- cgit v1.2.3