aboutsummaryrefslogtreecommitdiff
path: root/crates/test-temp-dir/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'remove-lint' into 'main'Jim Newsome2026-07-151-1/+1
|\ | | | | | | | | | | | | Removed unnecessary lint Closes #2556 See merge request tpo/core/arti!4210
| * add_warning: add reference to arti#2556Jim Newsome2026-07-151-1/+1
| |
| * Removed unnecessary lintpryty262026-07-151-1/+1
| | | | | | | | Removed unnecessary lint
* | test-temp-dir: Fix clippy warninghjrgrn2026-07-101-2/+2
|/
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-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.
* Allow clippy::collapsible_if to triggerGabriela Moldovan2026-02-161-0/+1
| | | | | | | | | `clippy::collapsible_if` started triggering after bumping the MSRV to 1.88. Since this triggers from a lot of places, and since there even are a couple of instances where we explicitly allow `clippy::collapsible_ifs`, I've opened #2342 for deciding what to do about it.
* maint/add_warning: Run script to add new warningGabriela Moldovan2026-01-271-0/+1
| | | | This adds the lint to all our crates.
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* Remove "doc_auto_cfg" incantation from all crates.Nick Mathewson2025-09-291-1/+1
| | | | This feature has been removed from nightly, in favor of doc_cfg.
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-1/+1
| | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again.
* Temporarily suppress mismatched_lifetime_syntaxes.Gabriela Moldovan2025-07-071-0/+1
| | | | See #2060.
* clippy: deny `mod_module_files`Steven Engler2025-01-061-0/+1
| | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
* add_warnings, *: Allow clippy::needless_lifetimesNick Mathewson2024-12-031-0/+1
| | | | | | | | In 1.83, this warning triggers on many of our crates. We're thinking of fixing them all, but for now, we're going to disable the warning. This is part of #1765.
* Re-run maint/add_warning.Nick Mathewson2024-05-061-2/+2
| | | | This commit is automatically generated.
* Fix typos in doc commentsTobias Stoeckmann2024-03-061-1/+1
|
* test-temp-dir: Allow use of Path::display in test diagnostic outputIan Jackson2024-03-051-1/+8
| | | | | | We're going to tell clippy to forbid Path::display. But we can't have the PathExt from tor-basic-utils, here. We can't put the allow on the function call expression, only a block or function.
* Merge branch 'windows_comments' into 'main'Ian Jackson2024-03-051-1/+1
|\ | | | | | | | | Fix Windows documentation See merge request tpo/core/arti!2011
| * test-temp-dir: Fix commentTobias Stoeckmann2024-03-011-1/+1
| | | | | | | | | | Windows systems use comma instead of proclaimed colon. The code is correct, just the comment has to be fixed.
* | deny clippy::unchecked_duration_subtractiontrinity-1686a2024-02-291-0/+1
|/
* test-temp-dir: Drop a TODO/allowIan Jackson2024-01-251-3/+0
|
* test-temp-dir: New crateIan Jackson2024-01-251-0/+333
Introduce the crate, move the code motion, and make minimal necessary changes.