Skip to content

Commit

Permalink
Update compiler output for auto_covariant test under rustc 1.61.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Jun 18, 2022
1 parent 273af43 commit d8653d1
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions examples/src/fail_tests/auto_covariant.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ error: Ouroboros cannot automatically determine if this type is covariant.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0601]: `main` function not found in crate `$CRATE`
--> $DIR/auto_covariant.rs:1:1
--> $DIR/auto_covariant.rs:12:2
|
1 | / use ouroboros::self_referencing;
2 | |
3 | | struct NotGuaranteedCovariant<'a> {
4 | | data: &'a (),
... |
11 | | field: NotGuaranteedCovariant<'this>
12 | | }
| |_^ consider adding a `main` function to `$DIR/src/fail_tests/auto_covariant.rs`
12 | }
| ^ consider adding a `main` function to `$DIR/src/fail_tests/auto_covariant.rs`

0 comments on commit d8653d1

Please sign in to comment.