2022-05-21 00:18:50 +02:00
|
|
|
extern "C" {
|
|
|
|
fn bget(&self, index: [usize; Self::DIM]) -> bool {
|
|
|
|
//~^ ERROR incorrect function inside `extern` block
|
|
|
|
//~| ERROR `self` parameter is only allowed in associated functions
|
2022-06-19 19:24:28 -07:00
|
|
|
//~| ERROR failed to resolve: `Self`
|
2022-05-21 00:18:50 +02:00
|
|
|
type T<'a> = &'a str;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|