diff options
author | Jure Podgoršek <jurij.podgorsek@dlabs.si> | 2017-01-06 20:48:23 +0100 |
---|---|---|
committer | Jure Podgoršek <jurij.podgorsek@dlabs.si> | 2017-01-06 20:56:59 +0100 |
commit | adcedd83147c9c77037b96c43a69ddb1a6254b45 (patch) | |
tree | 0d976d1bb5be4ff1527b2080b7f975aff5e4d3e5 /python/tidy/servo_tidy_tests/rust_tidy.rs | |
parent | 6d4ccab2b71c8eedcf05ed5402195538d626f8c8 (diff) | |
download | servo-adcedd83147c9c77037b96c43a69ddb1a6254b45.tar.gz servo-adcedd83147c9c77037b96c43a69ddb1a6254b45.zip |
Rust tidy: disallow assignment = in the beginning of line
Diffstat (limited to 'python/tidy/servo_tidy_tests/rust_tidy.rs')
-rw-r--r-- | python/tidy/servo_tidy_tests/rust_tidy.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy_tests/rust_tidy.rs b/python/tidy/servo_tidy_tests/rust_tidy.rs index 79be0ff1580..25da55e5bf8 100644 --- a/python/tidy/servo_tidy_tests/rust_tidy.rs +++ b/python/tidy/servo_tidy_tests/rust_tidy.rs @@ -59,4 +59,7 @@ impl test { // Should not be triggered macro_rules! test_macro ( ( $( $fun:ident = $flag:ident ; )* ) => ()); + + let var + = "val"; } |