We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db75313 commit 154b74eCopy full SHA for 154b74e
src/test/ui/lint/clashing-extern-fn-recursion.rs
@@ -89,28 +89,30 @@ mod ref_recursion_once_removed {
89
mod a {
90
#[repr(C)]
91
struct Reffy1<'a> {
92
- reffy: &'a Reffy1<'a>,
+ reffy: &'a Reffy2<'a>,
93
}
94
95
struct Reffy2<'a> {
96
- reffy: &'a Reffy2<'a>,
+ reffy: &'a Reffy1<'a>,
97
98
99
extern "C" {
100
+ #[allow(improper_ctypes)]
101
fn reffy_once_removed(reffy: Reffy1);
102
103
104
mod b {
105
106
107
108
109
110
111
112
113
114
115
116
117
118
0 commit comments