-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
missing_fragment_specifier hard error #76605
Comments
Personally I think that's too much breakage to land, even though it was a deprecation warning since 2017. |
I agree that it's not an acceptable breakage, although I suspect that most of it happens due to committed |
We could also make it a hard warning rather than error for all crates, but I'm not sure if that's better. It also doesn't need session state. |
To expand a bit: cargo hides warnings generated by your dependencies, so crate owners don't feel the pain of depending on these old versions. I believe it passes I assume that is what is meant by "hard warning"? |
I've posted a revert to current beta (#77456) but we still need to fix this on master. Moving milestone to 1.48, though. |
…oalbini [beta] Revert "Promote missing_fragment_specifier to hard error rust-lang#75516" This reverts "Promote missing_fragment_specifier to hard error rust-lang#75516" on just beta. I would like us to explore a more principled fix, perhaps along the lines `@petrochenkov` suggested in rust-lang#76605, on master when we have more time to test it but I don't want us shipping the breakage in the meantime. I don't personally feel comfortable immediately backporting anything more than a revert here. cc `@matklad`
I'll try to address this on nightly until the next release (the revert has landed on beta only #77456). |
Changed this to a nightly regression (so 1.48 regression) since we reverted the change on beta. |
What needs to change in time-macros-impl? There's no warnings currently emitted by any of my code, as verified in CI. I certainly would have run across it at some point while developing otherwise. In the future though, a friendly ping would be appreciated 🙂 |
Assigning to @estebank to change the lint on nightly to a hard warning, which should both prevent hard errors (and as such regressions) and still avoid global state. |
…chenkov [beta] Revert "Promote missing_fragment_specifier to hard error rust-lang#75516" This reverts "Promote missing_fragment_specifier to hard error rust-lang#75516" on just beta. I would like us to explore a more principled fix, perhaps along the lines `@petrochenkov` suggested in rust-lang#76605, on master when we have more time to test it but I don't want us shipping the breakage in the meantime. I don't personally feel comfortable immediately backporting anything more than a revert here. cc `@matklad` This matches rust-lang#77456 for 1.47 but targets 1.48 (current beta) instead. r? `@petrochenkov`
So, I assumed that |
@petrochenkov does that mean we need to revert #75516 in master too (and potentially on the upcoming beta)? |
I think we need to revert on master and then do any other work starting from that state. |
#75516 does not seem to revert cleanly on current beta (1.49). @estebank @petrochenkov could one of you prepare a revert PR targeting beta? (I agree we should also revert on master) |
…ulacrum Revert "Promote missing_fragment_specifier to hard error" rust-lang#75516 Revert of rust-lang#75516 per rust-lang#76605. r? `@Mark-Simulacrum` Note: I only reverted the two commits in rust-lang#75516 which made the lint a hard error. I did not revert the other two commits in the PR as they seemed fine to leave IMO (commits 84fcd0d and eb4d6b5).
…_specifier_hard_error, r=Mark-Simulacrum Revert missing fragment specifier hard error Closes rust-lang#76605 Reopens rust-lang#40107 r? `@Mark-Simulacrum`
…_specifier_hard_error, r=Mark-Simulacrum Revert missing fragment specifier hard error Closes rust-lang#76605 Reopens rust-lang#40107 r? `@Mark-Simulacrum`
…_specifier_hard_error, r=Mark-Simulacrum Revert missing fragment specifier hard error Closes rust-lang#76605 Reopens rust-lang#40107 r? ``@Mark-Simulacrum``
…_specifier_hard_error, r=Mark-Simulacrum Revert missing fragment specifier hard error Closes rust-lang#76605 Reopens rust-lang#40107 r? ```@Mark-Simulacrum```
In the beta run for Rust 1.47 the release team discovered that #75516 is breaking more than 475 crates or git repositories currently compiling, across at least the following crates:
js-sys
clap
time-macros-impl
cc @petrochenkov @matklad @rust-lang/release
The text was updated successfully, but these errors were encountered: