]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/issue-97193.rs
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / lifetimes / issue-97193.rs
1 extern "C" {
2     fn a(&mut self) {
3         //~^ ERROR incorrect function inside `extern` block
4         //~| ERROR `self` parameter is only allowed in associated functions
5         fn b(buf: &Self) {}
6     }
7 }
8
9 fn main() {}