diff options
| author | memoryruins <memoryruinsmusic@gmail.com> | 2019-05-28 14:46:13 -0400 |
|---|---|---|
| committer | memoryruins <memoryruinsmusic@gmail.com> | 2019-05-29 00:57:31 -0400 |
| commit | eb4580a570069175e1290b294d91042a09f9fde3 (patch) | |
| tree | fdb0ef28968512495204bd7a3dc3253cdb20365a /src/test/ui/self/explicit-self-objects-uniq.rs | |
| parent | a1d1d7a2c696c2afeff2ea206621a32d77fa49dc (diff) | |
| download | rust-eb4580a570069175e1290b294d91042a09f9fde3.tar.gz rust-eb4580a570069175e1290b294d91042a09f9fde3.zip | |
Update ui test suite to use dyn
Diffstat (limited to 'src/test/ui/self/explicit-self-objects-uniq.rs')
| -rw-r--r-- | src/test/ui/self/explicit-self-objects-uniq.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/self/explicit-self-objects-uniq.rs b/src/test/ui/self/explicit-self-objects-uniq.rs index f95686cf112..0050bc7124d 100644 --- a/src/test/ui/self/explicit-self-objects-uniq.rs +++ b/src/test/ui/self/explicit-self-objects-uniq.rs @@ -17,6 +17,6 @@ impl Foo for S { pub fn main() { let x = box S { x: 3 }; - let y = x as Box<Foo>; + let y = x as Box<dyn Foo>; y.f(); } |
