From 35d6bdf1445a59fcf807673085b7b052d5549ff5 Mon Sep 17 00:00:00 2001 From: Maik Klein Date: Sun, 4 Nov 2018 09:26:10 +0100 Subject: [PATCH] Remove format --- generator/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/src/lib.rs b/generator/src/lib.rs index 768ad9c..78da9ae 100644 --- a/generator/src/lib.rs +++ b/generator/src/lib.rs @@ -775,7 +775,7 @@ fn generate_function_pointers(ident: Ident, commands: &[&vkxml::Command]) -> quo #names_ref: unsafe { extern "system" fn #names_ref1 (#expanded_params_unused) -> #return_types_ref { - panic!("Unable to load {}", stringify!(#names_ref2)) + panic!(concat!("Unable to load ", stringify!(#names_ref2))) } let raw_name = stringify!(#raw_names_ref); let cname = ::std::ffi::CString::new(raw_name).unwrap();