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