diff options
Diffstat (limited to 'src/test/ui/chalkify/trait-objects.rs')
-rw-r--r-- | src/test/ui/chalkify/trait-objects.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/chalkify/trait-objects.rs b/src/test/ui/chalkify/trait-objects.rs deleted file mode 100644 index d56abc42b..000000000 --- a/src/test/ui/chalkify/trait-objects.rs +++ /dev/null @@ -1,12 +0,0 @@ -// check-pass -// compile-flags: -Z chalk - -use std::fmt::Display; - -fn main() { - let d: &dyn Display = &mut 3; - d.to_string(); - (&d).to_string(); - let f: &dyn Fn(i32) -> _ = &|x| x + x; - f(2); -} |