bevy/crates/bevy_reflect/bevy_reflect_derive/src
Doonv 189ceaf0d3
Replace or document ignored doctests (#11040)
# Objective

There are a lot of doctests that are `ignore`d for no documented reason.
And that should be fixed.

## Solution

I searched the bevy repo with the regex ` ```[a-z,]*ignore ` in order to
find all `ignore`d doctests. For each one of the `ignore`d doctests, I
did the following steps:
1. Attempt to remove the `ignored` attribute while still passing the
test. I did this by adding hidden dummy structs and imports.
2. If step 1 doesn't work, attempt to replace the `ignored` attribute
with the `no_run` attribute while still passing the test.
3. If step 2 doesn't work, keep the `ignored` attribute but add
documentation for why the `ignored` attribute was added.

---------

Co-authored-by: François <mockersf@gmail.com>
2024-01-01 16:50:56 +00:00
..
impls reflect: maximally relax TypePath bounds (#11037) 2023-12-24 17:45:46 +00:00
container_attributes.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
derive_data.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
documentation.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
enum_utility.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
field_attributes.rs bevy_reflect: Fix combined field attributes (#9322) 2023-08-07 23:04:00 +00:00
from_reflect.rs bevy_reflect: Fix ignored/skipped field order (#7575) 2023-10-22 12:43:31 +00:00
lib.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
reflect_value.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
registration.rs bevy_reflect: Fix ignored/skipped field order (#7575) 2023-10-22 12:43:31 +00:00
serialization.rs bevy_reflect: Fix ignored/skipped field order (#7575) 2023-10-22 12:43:31 +00:00
trait_reflection.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
type_path.rs Fix typo in NamedTypePathDef (#9102) 2023-07-10 17:02:16 +00:00
type_uuid.rs Add clippy::manual_let_else at warn level to lints (#10684) 2023-11-28 04:15:27 +00:00
utility.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00