summary refs log tree commit diff
path: root/compiler/rustc_fs_util/src
AgeCommit message (Collapse)AuthorLines
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has be converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted.
2023-03-16Add `try_canonicalize` to `rustc_fs_util` and use it over `fs::canonicalize`John Kåre Alsaker-1/+7
2022-12-01Remove useless borrows and derefsMaybe Waffle-1/+1
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+3
2021-01-06Optimize away a `fs::metadata` call.Dan Gohman-2/+4
This also eliminates a use of a `Path` convenience function, in support of #80741, refactoring `std::path` to focus on pure data structures and algorithms.
2020-10-14Remove unused code from remaining compiler cratesest31-27/+0
2020-08-30mv compiler to compiler/mark-0/+115