diff options
Diffstat (limited to 'tests/ui/generic-associated-types/projection-bound-cycle-generic.stderr')
-rw-r--r-- | tests/ui/generic-associated-types/projection-bound-cycle-generic.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/generic-associated-types/projection-bound-cycle-generic.stderr b/tests/ui/generic-associated-types/projection-bound-cycle-generic.stderr new file mode 100644 index 000000000..aae9a56bb --- /dev/null +++ b/tests/ui/generic-associated-types/projection-bound-cycle-generic.stderr @@ -0,0 +1,9 @@ +error[E0275]: overflow evaluating the requirement `<Number<T> as Foo>::Item == _` + --> $DIR/projection-bound-cycle-generic.rs:23:5 + | +LL | type Item = [T] where [T]: Sized; + | ^^^^^^^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0275`. |