rust/library/test/src/term/terminfo
Matthias Krüger c04801dbb9
Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton
Use `const_error!` when possible

Replace usages of `io::Error::new(io::ErrorKind::Variant, "constant string")` with `io::const_error!(io::ErrorKind::Variant, "constant string")` to avoid allocations when possible. Additionally, fix `&&str` error messages in SGX and missing/misplaced trailing commas in `const_error!`.
2025-02-17 06:37:37 +01:00
..
parm remove redundant imports 2023-12-10 10:56:22 +08:00
parser Use io::const_error! when possible over io::Error::new 2025-02-10 16:20:21 -08:00
searcher test: Apply deprecated_safe_2024 2025-02-13 13:10:27 -08:00
mod.rs Use io::const_error! when possible over io::Error::new 2025-02-10 16:20:21 -08:00
parm.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
searcher.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00