diff options
Diffstat (limited to 'vendor/ref-cast/tests/ui/function-body.rs')
| -rw-r--r-- | vendor/ref-cast/tests/ui/function-body.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vendor/ref-cast/tests/ui/function-body.rs b/vendor/ref-cast/tests/ui/function-body.rs deleted file mode 100644 index 915044a8..00000000 --- a/vendor/ref-cast/tests/ui/function-body.rs +++ /dev/null @@ -1,12 +0,0 @@ -use ref_cast::{ref_cast_custom, RefCastCustom}; - -#[derive(RefCastCustom)] -#[repr(transparent)] -pub struct Thing(String); - -impl Thing { - #[ref_cast_custom] - pub fn ref_cast(s: &String) -> &Self {} -} - -fn main() {} |
