You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: wgpu_error_scope.rs
    path of file: ./repos/rerun/crates/re_renderer/src/error_handling
    
    the code of the file until where you have to start completion: use std::sync::Arc;

/// Wgpu device error scope for all filters that auto closes when exiting the scope unless it was already closed.
///
/// The expectation is that the scope is manually closed, but this construct is useful to not accidentally
/// leave
    
    pub fn start(device: &Arc<wgpu::Device>) -> Self {
        device.push_error_scope(wgpu::ErrorFilter::Validation);
        device.push_error_scope(wgpu::ErrorFilter::OutOfMemory);
        // TODO(gfx-rs/wgpu#4866): Internal is missing!
        Self {
            device: device.clone(),
            open: true,
        }
    }