mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 13:40:17 -10:00
Source-Repo: https://github.com/servo/servo Source-Revision: 0c56499bdc5c92bac44f8c33e4781899c34d64e1
19 lines
429 B
Rust
19 lines
429 B
Rust
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() {
|
|
=> {}
|
|
}
|
|
}
|