| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-error: Fix clippy warnings | hjrgrn | 2026-07-10 | 1 | -1/+1 |
| | | |||||
| * | maint: Run maint/add_warning to deny string slices | Clara Engler | 2026-06-09 | 1 | -0/+1 |
| | | | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit. | ||||
| * | Revert "retry-error: stop trying to dedup error msgs" | Steven Engler | 2025-11-18 | 1 | -10/+3 |
| | | | | | | | | This reverts commit e0efb477df868baf09d37de99e8e346136e66140. There wasn't a consensus on this change, so sticking with the status quo. | ||||
| * | retry-error: stop trying to dedup error msgs | Steven Engler | 2025-11-13 | 1 | -3/+10 |
| | | |||||
| * | Fix name of clippy lint to unchecked_time_subtraction (2) | Ian Jackson | 2025-11-06 | 1 | -1/+1 |
| | | | | | Run maint/add_warning | ||||
| * | *: use std::io::Error::other in many places | Nick Mathewson | 2025-05-15 | 1 | -1/+1 |
| | | | | | | | | The `IoError::other` function is an easier way to say `IoError::new(IoErrorKind::Other, ...)`. It's been around since 1.74, but clippy started warning about the more verbose version in 1.87. | ||||
| * | tor-error: Implement ErrorReport for dyn StdError + 'static. | Nick Mathewson | 2025-02-04 | 1 | -0/+6 |
| | | | | | This is needed to Report on the output of `StdError::source`. | ||||
| * | tor-error: Refor to the correct trait. | Nick Mathewson | 2025-02-04 | 1 | -1/+1 |
| | | |||||
| * | derive-deftly: Change some docs references | Ian Jackson | 2024-04-03 | 1 | -1/+1 |
| | | | | | Found by "git grep adhoc" and manual inspection. | ||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 1 | -0/+1 |
| | | |||||
| * | tor-error: Correct docs for ErrorReport to reflect improved situation | Ian Jackson | 2023-12-12 | 1 | -2/+4 |
| | | |||||
| * | tor-error: ErrorReport: impl for StdError + 'static | Ian Jackson | 2023-12-12 | 1 | -0/+7 |
| | | |||||
| * | tor-error: ErrorReport: remove Sized bound from trait | Ian Jackson | 2023-12-12 | 1 | -1/+1 |
| | | | | | This will let us impl for dyn StdError. | ||||
| * | tor-error: ErrorReport: move blanket impl code into impl | Ian Jackson | 2023-12-12 | 1 | -2/+4 |
| | | | | | | This impl can only compile for Self: Sized. This will let us remove the Sized bound from the trait itself. | ||||
| * | tor-error: ErrorReport: seal | Ian Jackson | 2023-12-12 | 1 | -1/+4 |
| | | | | | | | We're going to need to make change to this trait which would be breaking for out-of-crate implementors. This should have been sealed all along. | ||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 1 | -0/+1 |
| | | |||||
| * | retry-error: Provide fmt_error_with_sources in retry-error | Ian Jackson | 2023-07-19 | 1 | -16/+3 |
| | | | | | | This code came from tor-error. So now tor-error depends on retry-error. | ||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 1 | -0/+1 |
| | | |||||
| * | tor-error: Mark define_asref_dyn_std_error as non-experimental | Nick Mathewson | 2023-06-23 | 1 | -1/+0 |
| | | | | | | (I see no problems with this macro. In the worst case, we deprecate it someday.) | ||||
| * | tor-error: Introduce define_asref_dyn_std_error and use it | Ian Jackson | 2023-06-09 | 1 | -0/+17 |
| | | | | | | This factors out an ad-hoc AsRef impl. We're going to want to reuse this for another error type. | ||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | ||||
| * | Fix typos | Dimitris Apostolou | 2023-01-07 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'test-lints' into 'main' | eta | 2023-01-06 | 1 | -0/+9 |
| |\ | | | | | | | | | Add test lint blocks to all "mod test" See merge request tpo/core/arti!937 | ||||
| | * | test lint blocks: Add many many automatically | Ian Jackson | 2022-12-12 | 1 | -0/+9 |
| | | | | | | | | | | | This is precisely the result of running the rune in maint/adhoc-add-lint-blocks. | ||||
| * | | tor-error: Provide ErrorReport extension trait with .report() method | Ian Jackson | 2022-12-12 | 1 | -0/+32 |
| | | | |||||
| * | | tor_error: Promote internal StdError alias to report | Ian Jackson | 2022-12-12 | 1 | -5/+5 |
| |/ | | | | | The std::error::Error repetition was getting rather repetitively repetitious, and is about to get more so. | ||||
| * | tor_error::Report: add tests | Ian Jackson | 2022-02-22 | 1 | -0/+56 |
| | | |||||
| * | tor_error::Report: Add bound to struct | Ian Jackson | 2022-02-22 | 1 | -1/+3 |
| | | | | | | This is more typing in the definition but it produces much better error messages if you try to Report(foo).to_string() | ||||
| * | Move program name printing to report_and_exit | Ian Jackson | 2022-02-22 | 1 | -3/+8 |
| | | |||||
| * | Placate clippy on nightly, properly | Ian Jackson | 2022-02-18 | 1 | -1/+1 |
| | | | | | | I c&p this lint suppression but from a cli option printed by clippy, and I didn't notice the need to change the - to _. | ||||
| * | Placate clippy on nightly | Ian Jackson | 2022-02-18 | 1 | -0/+1 |
| | | |||||
| * | Placate rustfmt | Ian Jackson | 2022-02-18 | 1 | -4/+10 |
| | | | | | I think all of this diff is a strict disimprovement, but whatever. | ||||
| * | Placate clippy | Ian Jackson | 2022-02-18 | 1 | -1/+3 |
| | | |||||
| * | Add missing docs for report_and_exit | Ian Jackson | 2022-02-18 | 1 | -0/+3 |
| | | |||||
| * | Provide error reporter and use it in the arti binary | Ian Jackson | 2022-02-18 | 1 | -0/+40 |
