Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't panic on license check errors (#3655)
Without this case, an ErrorKind::LicenseCheck results in a panic: thread 'main' panicked at 'internal error: entered unreachable code', src/tools/rustfmt/src/formatting.rs:320:18 N.B.: errors of this type are only raised when the configuration file contains `license_tempate_path = "TEMPLATE_FILE"`.
- Loading branch information