Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 202 Bytes
// run-pass
// pretty-expanded FIXME #23616
trait A {
fn dummy(&self) { }
struct B;
impl A for B {}
fn foo(_: &mut dyn A) {}
pub fn main() {
let mut b = B;
foo(&mut b as &mut dyn A);
You can’t perform that action at this time.