]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/issue-97194.rs
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / lifetimes / issue-97194.rs
1 extern "C" {
2     fn bget(&self, index: [usize; Self::DIM]) -> bool {
3         //~^ ERROR incorrect function inside `extern` block
4         //~| ERROR `self` parameter is only allowed in associated functions
5         //~| ERROR use of undeclared type `Self`
6         type T<'a> = &'a str;
7     }
8 }
9
10 fn main() {}