Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.38] Regression: lifetime name 's declared twice in the same scope #63886

Closed
petrochenkov opened this issue Aug 25, 2019 · 2 comments
Closed
Assignees
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
Milestone

Comments

@petrochenkov
Copy link
Contributor

#63628 (comment)

lifetime name 's declared twice in the same scope

lifetime name 'input declared twice in the same scope

./reg/cff/0.5.0/beta-2019-08-13.txt:[INFO] [stderr] error[E0263]: lifetime name `'s` declared twice in the same scope
./reg/sfnt/0.12.0/beta-2019-08-13.txt:[INFO] [stderr] error[E0263]: lifetime name `'s` declared twice in the same scope
./reg/tarrasque/0.10.0/beta-2019-08-13.txt:[INFO] [stderr] error[E0263]: lifetime name `'s` declared twice in the same scope

./reg/reformation/0.4.1/beta-2019-08-13.txt:[INFO] [stdout] error[E0263]: lifetime name `'input` declared twice in the same scope

@matthewjasper explains what happens in #63628 (comment).

@petrochenkov petrochenkov added the regression-from-stable-to-beta Performance or correctness regression from stable to beta. label Aug 25, 2019
@matthewjasper matthewjasper self-assigned this Aug 25, 2019
@petrochenkov petrochenkov added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Aug 26, 2019
@Mark-Simulacrum Mark-Simulacrum added this to the 1.38 milestone Aug 30, 2019
@nikomatsakis nikomatsakis added I-nominated T-lang Relevant to the language team, which will review and decide on the PR/issue. labels Sep 5, 2019
@nikomatsakis
Copy link
Contributor

This is a result of #63083, which was a (largely) bug fix that made lifetime parameters use hygiene in a comparable way to other things. Nominating for lang but recommendation is "won't fix".

@nikomatsakis
Copy link
Contributor

We discussed this in the Sep 05 @rust-lang/lang meeting and decided this is a "bug fix" and hence "won't fix" is the appropriate result. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants