Panic if PathBuf::set_extension
would add a path separator
#125070
Merged
Loading