Nicholas Nethercote
3a1b8e643a
Rename EarlyDiagCtxt methods to match DiagCtxt.
...
- `early_error_no_abort` -> `early_err`
- `early_error` -> `early_fatal`
- `early_struct_error` -> `early_struct_fatal`
2023-12-23 13:23:28 +11:00
Nicholas Nethercote
d58e372853
Rename many EarlyDiagCtxt arguments.
2023-12-18 16:06:22 +11:00
Nicholas Nethercote
cce1701c4c
Rename EarlyErrorHandler as EarlyDiagCtxt.
2023-12-18 16:06:21 +11:00
许杰友 Jieyou Xu (Joe)
cef812bd95
Provide more context for rustc +nightly -Zunstable-options on stable
2023-06-27 23:23:33 +08:00
Michael Woerister
c0be619724
incr. comp.: Don't export impl_stable_hash_via_hash!() and warn about using it.
2022-04-19 10:43:20 +02:00
Nicholas Nethercote
0ba47f3216
Make SearchPathFile::file_name_str non-optional.
...
Currently, it can be `None` if the conversion from `OsString` fails, in
which case all searches will skip over the `SearchPathFile`.
The commit changes things so that the `SearchPathFile` just doesn't get
created in the first place. Same behaviour, but slightly simpler code.
2022-02-02 13:16:25 +11:00
bjorn3
a4a22f07d7
Doc comments
2021-09-08 18:25:46 +02:00
Matthias Krüger
012974da7a
use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip)
2020-09-17 10:13:16 +02:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00