fix: Allow configuration of colons in inlay-hints

This commit is contained in:
Lukas Wirth 2022-03-11 21:06:26 +01:00
parent 224a255c5a
commit 62265ee9cb
8 changed files with 40 additions and 10 deletions

View file

@ -440,6 +440,7 @@ pub fn bench(label: &'static str) -> impl Drop {
/// Checks that the `file` has the specified `contents`. If that is not the
/// case, updates the file and then fails the test.
#[track_caller]
pub fn ensure_file_contents(file: &Path, contents: &str) {
if let Err(()) = try_ensure_file_contents(file, contents) {
panic!("Some files were not up-to-date");