diff --git a/naga/xtask/src/main.rs b/naga/xtask/src/main.rs index 839a610886c..d79ef6dd544 100644 --- a/naga/xtask/src/main.rs +++ b/naga/xtask/src/main.rs @@ -275,8 +275,8 @@ fn run(args: Args) -> anyhow::Result<()> { else { bail!( "expected target profile of the form \ - `{{model}}_{{major}}_{{minor}}`, found invalid target \ - profile {:?} in file {}", + `{{model}}_{{major}}_{{minor}}`, found invalid target \ + profile {:?} in file {}", config_item.target_profile, file.display() )