Skip to content

Commit 8cc51a0

Browse files
authored
Merge pull request #1336 from Yarwin/address-clippy-quote-formatting-issues-in-itest
itest: work around clippy errors when `quote!` generates one big line
2 parents a335a52 + 6a33d42 commit 8cc51a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

itest/rust/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ fn generate_rust_methods(inputs: &[Input]) -> Vec<TokenStream> {
361361
.collect::<Vec<_>>();
362362

363363
let manual_methods = quote! {
364+
#[allow(clippy::suspicious_else_formatting)] // `quote!` might output whole file as one big line.
364365
#[func]
365366
fn check_last_notrace(last_method_name: String, expected_callconv: String) -> bool {
366367
let last = godot::private::trace::pop();

0 commit comments

Comments
 (0)