diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2024-05-22 15:18:29 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2024-06-04 22:12:31 +0200 |
| commit | f7c51a2d2f67a118db7de5e810f5acb096659137 (patch) | |
| tree | bbb8859b40ccbbba02870f81fe1352a0b90bddae /compiler/rustc_parse/src/parser/expr.rs | |
| parent | 44701e070c8453df10df1984944258018ac21610 (diff) | |
| download | rust-f7c51a2d2f67a118db7de5e810f5acb096659137.tar.gz rust-f7c51a2d2f67a118db7de5e810f5acb096659137.zip | |
Directly add extension instead of using `Path::with_extension`
`Path::with_extension` has a nice footgun when the original path doesn't contain an extension: Anything after the last dot gets removed.
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
