bevy/errors/src/lib.rs
Kanabenki f77618eccb
Add a [lints] entry for workspace members missing it (#11900)
# Objective

- Some workspace members do not inherit the global lints.

## Solution

- Add a `[lints]` entry for all files returned by `rg
--files-without-match -F "[lints]" **/Cargo.toml`, except the compile
failure tests since these aren't part of the workspace.
- Add some docstrings where needed.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-02-19 17:09:47 +00:00

15 lines
346 B
Rust

//! Definitions of Bevy's error codes that might occur at runtime.
//!
//! These either manifest as a warning or a panic.
#[doc = include_str!("../B0001.md")]
pub struct B0001;
#[doc = include_str!("../B0002.md")]
pub struct B0002;
#[doc = include_str!("../B0003.md")]
pub struct B0003;
#[doc = include_str!("../B0004.md")]
pub struct B0004;