diff options
Diffstat (limited to 'tests/ui/traits/issue-75627.rs')
-rw-r--r-- | tests/ui/traits/issue-75627.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/traits/issue-75627.rs b/tests/ui/traits/issue-75627.rs new file mode 100644 index 000000000..93a2ec1cc --- /dev/null +++ b/tests/ui/traits/issue-75627.rs @@ -0,0 +1,6 @@ +struct Foo<T>(T, *const ()); + +unsafe impl Send for Foo<T> {} +//~^ ERROR cannot find type + +fn main() {} |