aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/script_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'python/tidy/servo_tidy_tests/script_thread.rs')
-rw-r--r--python/tidy/servo_tidy_tests/script_thread.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/python/tidy/servo_tidy_tests/script_thread.rs b/python/tidy/servo_tidy_tests/script_thread.rs
deleted file mode 100644
index 5dbeaec0e17..00000000000
--- a/python/tidy/servo_tidy_tests/script_thread.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-fn main() {
- // This should trigger an error.
- match self.documents.borrow_mut() {
- _ => {}
- }
- // This should trigger an error.
- match self.documents.borrow() {
- _ => {}
- }
- // This should not trigger an error.
- match { self.documents.borrow().find_window(id) } {
- => {}
- }
- // This should not trigger an error.
- match self.documents_status.borrow() {
- => {}
- }
-}