Skip to content

Commit

Permalink
bless tests
Browse files Browse the repository at this point in the history
yay, I fixed the bug/missing feature :')
  • Loading branch information
WaffleLapkin committed Jan 17, 2025
1 parent 145ff27 commit 5183b33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 61 deletions.
5 changes: 1 addition & 4 deletions tests/ui/cast/ptr-to-trait-obj-wrap.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//@ check-pass
#![allow(unused)]

trait A {}
Expand All @@ -7,14 +8,10 @@ struct X<T: ?Sized>(T);

fn unwrap(a: *const W<dyn A>) -> *const dyn A {
a as _
//~^ error
//~| error
}

fn unwrap_nested(a: *const W<W<dyn A>>) -> *const W<dyn A> {
a as _
//~^ error
//~| error
}

fn rewrap(a: *const W<dyn A>) -> *const X<dyn A> {
Expand Down
57 changes: 0 additions & 57 deletions tests/ui/cast/ptr-to-trait-obj-wrap.stderr

This file was deleted.

0 comments on commit 5183b33

Please sign in to comment.