1 error: expected identifier, found keyword `Self`
2 --> $DIR/issue-70549-resolve-after-recovered-self-ctor.rs:4:17
4 LL | fn foo(&mur Self) {}
5 | ^^^^ expected identifier, found keyword
7 error: expected one of `:`, `@`, or `|`, found keyword `Self`
8 --> $DIR/issue-70549-resolve-after-recovered-self-ctor.rs:4:17
10 LL | fn foo(&mur Self) {}
13 | | expected one of `:`, `@`, or `|`
14 | help: declare the type after the parameter binding: `<identifier>: <type>`
16 error: unexpected lifetime `'static` in pattern
17 --> $DIR/issue-70549-resolve-after-recovered-self-ctor.rs:8:13
19 LL | fn bar(&'static mur Self) {}
20 | ^^^^^^^ help: remove the lifetime
22 error: expected identifier, found keyword `Self`
23 --> $DIR/issue-70549-resolve-after-recovered-self-ctor.rs:8:25
25 LL | fn bar(&'static mur Self) {}
26 | ^^^^ expected identifier, found keyword
28 error: expected one of `:`, `@`, or `|`, found keyword `Self`
29 --> $DIR/issue-70549-resolve-after-recovered-self-ctor.rs:8:25
31 LL | fn bar(&'static mur Self) {}
34 | | expected one of `:`, `@`, or `|`
35 | help: declare the type after the parameter binding: `<identifier>: <type>`
37 error: expected one of `:`, `@`, or `|`, found keyword `Self`
38 --> $DIR/issue-70549-resolve-after-recovered-self-ctor.rs:14:17
40 LL | fn baz(&mur Self @ _) {}
41 | ^^^^ expected one of `:`, `@`, or `|`
43 error: the `Self` constructor can only be used with tuple or unit structs
44 --> $DIR/issue-70549-resolve-after-recovered-self-ctor.rs:4:17
46 LL | fn foo(&mur Self) {}
47 | ^^^^ help: use curly brackets: `Self { /* fields */ }`
49 error: the `Self` constructor can only be used with tuple or unit structs
50 --> $DIR/issue-70549-resolve-after-recovered-self-ctor.rs:8:25
52 LL | fn bar(&'static mur Self) {}
53 | ^^^^ help: use curly brackets: `Self { /* fields */ }`
55 error: aborting due to 8 previous errors