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