rust/compiler/rustc_session/src
许杰友 Jieyou Xu (Joe) 099faa8beb
Rollup merge of #134420 - Integral-Tech:pathbuf-refactor, r=compiler-errors
refactor: replace &PathBuf with &Path to enhance generality

- According to [style.md](https://github.com/rust-lang/rust/blob/master/src/tools/rust-analyzer/docs/dev/style.md#useless-types):

> More generally, always prefer types on the left
```rust
// GOOD      BAD
&[T]         &Vec<T>
&str         &String
Option<&T>   &Option<T>
&Path        &PathBuf
```
2024-12-18 22:56:56 +08:00
..
config Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
code_stats.rs compiler: Add rustc_abi dependence to the compiler 2024-10-27 21:10:58 -07:00
config.rs refactor: replace &PathBuf with &Path to enhance generality 2024-12-18 00:28:34 +08:00
cstore.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
errors.rs rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973) 2024-12-02 01:14:40 +07:00
filesearch.rs rustc_metadata: Preprocess search paths for better performance 2024-11-15 10:35:33 +01:00
lib.rs rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures 2024-12-16 19:08:19 +01:00
options.rs Auto merge of #133899 - scottmcm:strip-mir-debuginfo, r=oli-obk 2024-12-13 08:32:20 +00:00
output.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
parse.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
search_paths.rs rustc_metadata: Preprocess search paths for better performance 2024-11-15 10:35:33 +01:00
session.rs Remove registered_lints field from Session 2024-12-13 10:46:53 +00:00
utils.rs remove a couple of redundant String to String conversion 2024-10-12 22:07:46 +02:00