aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/rust_tidy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'python/tidy/servo_tidy_tests/rust_tidy.rs')
-rw-r--r--python/tidy/servo_tidy_tests/rust_tidy.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/tidy/servo_tidy_tests/rust_tidy.rs b/python/tidy/servo_tidy_tests/rust_tidy.rs
index 358fce3a082..79be0ff1580 100644
--- a/python/tidy/servo_tidy_tests/rust_tidy.rs
+++ b/python/tidy/servo_tidy_tests/rust_tidy.rs
@@ -52,7 +52,9 @@ impl test {
type Text_Fun3 = fn( i32) -> i32;
fn test_fun3<Text_Fun3>( y: Text_Fun3) {
- test_fun( 1);
+ let (x, y) = (1, 2) // Should not trigger
+ test_fun( x);
+ test_fun (y);
}
// Should not be triggered