You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E0207 always reads unconstrained lifetime parameter in the advanced diagnostics, regardless of whether the unconstrained parameter is a lifetime or type parameter.
The fix seems simple - substitute format!("unconstrained lifetime parameter") with format!("unconstrained {} parameter", kind) in report_unused_parameter - but I don't have the resources presently to get rustc compiling myself to make a PR.
A test for E0207 added in the fix for #35302 enforces this incorrect behavior and would need to also be updated.
Spotted by Sgeo_ on IRC.
The text was updated successfully, but these errors were encountered:
Update E0207 label to report parameter type
Fixesrust-lang#35642.
r? @jonathandturner (Is this okay? I tagged you since it's a simple error fix similar to the other update ones.)
sophiajt
pushed a commit
to sophiajt/rust
that referenced
this issue
Aug 17, 2016
Update E0207 label to report parameter type
Fixesrust-lang#35642.
r? @jonathandturner (Is this okay? I tagged you since it's a simple error fix similar to the other update ones.)
sophiajt
pushed a commit
to sophiajt/rust
that referenced
this issue
Aug 17, 2016
Update E0207 label to report parameter type
Fixesrust-lang#35642.
r? @jonathandturner (Is this okay? I tagged you since it's a simple error fix similar to the other update ones.)
E0207 always reads
unconstrained lifetime parameter
in the advanced diagnostics, regardless of whether the unconstrained parameter is a lifetime or type parameter.The fix seems simple - substitute
format!("unconstrained lifetime parameter")
withformat!("unconstrained {} parameter", kind)
in report_unused_parameter - but I don't have the resources presently to get rustc compiling myself to make a PR.A test for E0207 added in the fix for #35302 enforces this incorrect behavior and would need to also be updated.
Spotted by
Sgeo_
on IRC.The text was updated successfully, but these errors were encountered: