1 // compile-flags: -Z continue-parse-after-error
4 fn foo(*mut self); //~ ERROR cannot pass `self` by raw pointer
5 fn baz(*const self); //~ ERROR cannot pass `self` by raw pointer
6 fn bar(*self); //~ ERROR cannot pass `self` by raw pointer
11 fn foo(*mut self) { } //~ ERROR cannot pass `self` by raw pointer
12 fn baz(*const self) { } //~ ERROR cannot pass `self` by raw pointer
13 fn bar(*self) { } //~ ERROR cannot pass `self` by raw pointer