1 // Testing the display of RwLockWriteGuard.
4 // min-cdb-version: 10.0.18317.1001
7 // === CDB TESTS ==================================================================================
12 // cdb-check:w [Type: std::sync::rwlock::RwLockWriteGuard<i32>]
13 // cdb-check: [...] lock : [...] [Type: std::sync::rwlock::RwLock<i32> *]
14 // cdb-check: [...] poison [Type: std::sync::poison::Guard]
16 #[allow(unused_variables)]
18 use std::sync::RwLock;
22 let l = RwLock::new(0);
23 let w = l.write().unwrap();