2022-05-20 17:18:50 -05: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 21:24:28 -05:00
|
|
|
//~| ERROR failed to resolve: `Self`
|
2022-05-20 17:18:50 -05:00
|
|
|
type T<'a> = &'a str;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|