Closed
Description
From: src/test/compile-fail/E0106.rs
Error E0106 needs a span_label, updating it from:
error[E0106]: missing lifetime specifier
--> src/test/compile-fail/E0106.rs:12:8
|
12 | x: &bool, //~ ERROR E0106
| ^^^^^
To:
error[E0106]: missing lifetime specifier
--> src/test/compile-fail/E0106.rs:12:8
|
12 | x: &bool, //~ ERROR E0106
| ^^^^^ expected lifetime information
Activity
Tiwalun commentedon Aug 3, 2016
I'll try this one.
arielb1 commentedon Aug 3, 2016
I think "expected lifetime parameter" is a better label. bonus: have the label on the ampersand only.
sophiajt commentedon Aug 3, 2016
👍 to @arielb1's suggestions
Tiwalun commentedon Aug 4, 2016
@arielb1 Do you mean like this?
Or like this, with the primary span changed?
sophiajt commentedon Aug 4, 2016
I think he means the second one:
Rollup merge of rust-lang#35356 - Tiwalun:fix-err-msg-e0106, r=jonath…