about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2024-05-22 15:18:29 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2024-06-04 22:12:31 +0200
commitf7c51a2d2f67a118db7de5e810f5acb096659137 (patch)
treebbb8859b40ccbbba02870f81fe1352a0b90bddae /compiler/rustc_parse/src/parser/expr.rs
parent44701e070c8453df10df1984944258018ac21610 (diff)
downloadrust-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