diff options
| author | Michael Goulet <michael@errs.io> | 2024-03-20 12:52:54 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-03-20 13:00:34 -0400 |
| commit | ce5f8c93fa28ef0a56531f8b43296b1779d49240 (patch) | |
| tree | 3bea65aa0f01da88df0abbb8cecfe47e47a0b3ca /tests/rustdoc-ui/invalid_associated_const.stderr | |
| parent | aa39dbb962fc1410613458e88269fe0b760ad7f8 (diff) | |
| download | rust-ce5f8c93fa28ef0a56531f8b43296b1779d49240.tar.gz rust-ce5f8c93fa28ef0a56531f8b43296b1779d49240.zip | |
Bless test fallout (duplicate diagnostics)
Diffstat (limited to 'tests/rustdoc-ui/invalid_associated_const.stderr')
| -rw-r--r-- | tests/rustdoc-ui/invalid_associated_const.stderr | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/rustdoc-ui/invalid_associated_const.stderr b/tests/rustdoc-ui/invalid_associated_const.stderr index 9c6ae0f76c6..1eb6d2714e3 100644 --- a/tests/rustdoc-ui/invalid_associated_const.stderr +++ b/tests/rustdoc-ui/invalid_associated_const.stderr @@ -4,6 +4,14 @@ error[E0229]: associated type bindings are not allowed here LL | type A: S<C<X = 0i32> = 34>; | ^^^^^^^^ associated type not allowed here -error: aborting due to 1 previous error +error[E0229]: associated type bindings are not allowed here + --> $DIR/invalid_associated_const.rs:4:17 + | +LL | type A: S<C<X = 0i32> = 34>; + | ^^^^^^^^ associated type not allowed here + | + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` + +error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0229`. |
