about summary refs log tree commit diff
path: root/library/std/src/error
AgeCommit message (Collapse)AuthorLines
2025-01-26Move std::error unit tests to integration testsbjorn3-444/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2023-08-13core/any: remove Provider traitwayne warren-2/+2
* remove `impl Provider for Error` * rename `Demand` to `Request` * update docstrings to focus on the conceptual API provided by `Request` * move `core::any::{request_ref, request_value}` functions into `core::error` * move `core::any::tag`, `core::any::Request`, an `core::any::TaggedOption` into `core::error` * replace `provide_any` feature name w/ `error_generic_member_access` * move `core::error::request_{ref,value} tests into core::tests::error module * update unit and doc tests
2022-08-01remove fn backtraceJane Losare-Lusby-2/+3
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-3/+3
This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored).
2022-01-07silence tidy errorsJane Lusby-17/+23
2021-12-16Update report output and fix examplesJane Lusby-47/+85
2021-12-14Update std::error::Report based on feedbackJane Lusby-54/+124
2021-10-27Attempt to fix tidy errorsSean Chen-0/+291
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+37
Also doing fmt inplace as requested.