Skip to content

Commit 63ce8d0

Browse files
committed
fix: bless new output for missing_copy ui test
I believe this formatting change is due to the compiler migrating to [`annotate-snippets`](https://crates.io/crates/annotate-snippets) for diagnostics.
1 parent 356072a commit 63ce8d0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
error: defined a unit struct without a `Copy` implementation
2-
--> tests/ui/missing_trait_for_unit_struct/missing_copy.rs:9:1
3-
|
4-
9 | pub struct IsDefaultUiCamera;
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6-
|
2+
--> tests/ui/missing_trait_for_unit_struct/missing_copy.rs:9:1
3+
|
4+
9 | pub struct IsDefaultUiCamera;
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6+
|
77
note: the lint level is defined here
8-
--> tests/ui/missing_trait_for_unit_struct/missing_copy.rs:4:9
9-
|
10-
4 | #![deny(bevy::missing_copy)]
11-
| ^^^^^^^^^^^^^^^^^^
8+
--> tests/ui/missing_trait_for_unit_struct/missing_copy.rs:4:9
9+
|
10+
4 | #![deny(bevy::missing_copy)]
11+
| ^^^^^^^^^^^^^^^^^^
1212
help: `Copy` can be automatically derived
13-
|
14-
9 + #[derive(Copy)]
15-
10| pub struct IsDefaultUiCamera;
16-
|
13+
|
14+
9 + #[derive(Copy)]
15+
10 | pub struct IsDefaultUiCamera;
16+
|
1717

1818
error: aborting due to 1 previous error
1919

0 commit comments

Comments
 (0)