rust/tests/ui/suggestions/auxiliary/not-object-safe.rs

7 lines
78 B
Rust

use std::sync::Arc;
pub trait A {
fn f();
fn f2(self: &Arc<Self>);
}