Skip to content

Commit 444fa83

Browse files
committed
bless stderr
1 parent 94bfc4d commit 444fa83

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

crates/bevy_ecs_compile_fail_tests/tests/ui/world_query_derive.stderr

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
error[E0277]: the trait bound `WriteFetch<'_, Foo>: ReadOnlyFetch` is not satisfied
2-
--> tests/ui/world_query_derive.rs:7:10
1+
error[E0277]: the trait bound `&'static mut Foo: ReadOnlyWorldQuery` is not satisfied
2+
--> tests/ui/world_query_derive.rs:9:8
33
|
4-
7 | #[derive(WorldQuery)]
5-
| ^^^^^^^^^^ the trait `ReadOnlyFetch` is not implemented for `WriteFetch<'_, Foo>`
4+
9 | a: &'static mut Foo,
5+
| ^^^^^^^^^^^^^^^^ the trait `ReadOnlyWorldQuery` is not implemented for `&'static mut Foo`
66
|
77
note: required by a bound in `_::assert_readonly`
88
--> tests/ui/world_query_derive.rs:7:10
@@ -11,11 +11,11 @@ note: required by a bound in `_::assert_readonly`
1111
| ^^^^^^^^^^ required by this bound in `_::assert_readonly`
1212
= note: this error originates in the derive macro `WorldQuery` (in Nightly builds, run with -Z macro-backtrace for more info)
1313

14-
error[E0277]: the trait bound `MutableMarkedFetch<'_>: ReadOnlyFetch` is not satisfied
15-
--> tests/ui/world_query_derive.rs:18:10
14+
error[E0277]: the trait bound `MutableMarked: ReadOnlyWorldQuery` is not satisfied
15+
--> tests/ui/world_query_derive.rs:20:8
1616
|
17-
18 | #[derive(WorldQuery)]
18-
| ^^^^^^^^^^ the trait `ReadOnlyFetch` is not implemented for `MutableMarkedFetch<'_>`
17+
20 | a: MutableMarked,
18+
| ^^^^^^^^^^^^^ the trait `ReadOnlyWorldQuery` is not implemented for `MutableMarked`
1919
|
2020
note: required by a bound in `_::assert_readonly`
2121
--> tests/ui/world_query_derive.rs:18:10

0 commit comments

Comments
 (0)