-
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
Fix diagnostic suggests adding type [type error]
#82720
Conversation
Fixes rust-lang#79040 Unresolved questions: Why does this change output the diagnostic twice? Why does the CI fail when the errors are pointed out (UI tests)?
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2e7ce6a
to
f2afaf6
Compare
This comment has been minimized.
This comment has been minimized.
It always did that, we just hide duplicates by default. The test suite wants to know about all diagnostics, so it doesn't do deduplication |
f2afaf6
to
6061033
Compare
This comment has been minimized.
This comment has been minimized.
@oli-obk I think this was the 1,419'th addition to |
6061033
to
80a0fc9
Compare
This comment has been minimized.
This comment has been minimized.
Please run |
80a0fc9
to
66db82e
Compare
This comment has been minimized.
This comment has been minimized.
@rustbot label +S-waiting-on-author -S-waiting-on-review |
…anewok Update tests names to start with `issue-` See `@JohnTitor's` [comment](rust-lang#82720 (comment)) `@rustbot` label +C-cleanup
…anewok Update tests names to start with `issue-` See ``@JohnTitor's`` [comment](rust-lang#82720 (comment)) ``@rustbot`` label +C-cleanup
ee049f0
to
7d3a6f1
Compare
@rustbot label -S-waiting-on-author +S-waiting-on-review |
@bors r+ rollup |
📌 Commit 7d3a6f1 has been approved by |
Fix diagnostic suggests adding type `[type error]` Fixes rust-lang#79040 ### Unresolved questions: <del>Why does this change output the diagnostic twice (`src/test/ui/79040.rs`)?</del> Thanks `@oli-obk`
Fix diagnostic suggests adding type `[type error]` Fixes rust-lang#79040 ### Unresolved questions: <del>Why does this change output the diagnostic twice (`src/test/ui/79040.rs`)?</del> Thanks ``@oli-obk``
Fix diagnostic suggests adding type `[type error]` Fixes rust-lang#79040 ### Unresolved questions: <del>Why does this change output the diagnostic twice (`src/test/ui/79040.rs`)?</del> Thanks ```@oli-obk```
Fix diagnostic suggests adding type `[type error]` Fixes rust-lang#79040 ### Unresolved questions: <del>Why does this change output the diagnostic twice (`src/test/ui/79040.rs`)?</del> Thanks ````@oli-obk````
Rollup of 13 pull requests Successful merges: - rust-lang#77916 (Change built-in kernel targets to be os = none throughout) - rust-lang#82130 (Make some Option, Result methods unstably const) - rust-lang#82292 (Prevent specialized ZipImpl from calling `__iterator_get_unchecked` twice with the same index) - rust-lang#82402 (Remove RefCell around `module_trait_cache`) - rust-lang#82592 (Improve transmute docs with further clarifications) - rust-lang#82651 (Cleanup rustdoc warnings) - rust-lang#82720 (Fix diagnostic suggests adding type `[type error]`) - rust-lang#82751 (improve offset_from docs) - rust-lang#82793 (Move some tests to more suitable subdirs) - rust-lang#82803 (rustdoc: Add an unstable option to print all unversioned files) - rust-lang#82808 (Sync rustc_codegen_cranelift) - rust-lang#82822 (Fix typo) - rust-lang#82837 (tweak MaybeUninit docs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #79040
Unresolved questions:
Why does this change output the diagnostic twice (Thanks @oli-obksrc/test/ui/79040.rs
)?