-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Devise a way to test spans #12182
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Comments
steveklabnik
added
the
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
label
Apr 16, 2015
UI test (added in #33588) can test spans now. Still, I think UI test can't test spans not used by diagnostics. Such spans can still affect rustfmt, for example. |
Triage: not aware of any changes |
Current status:
@steveklabnik @sanxiyn do you think we can close this ticket given this? |
Sounds good to me. Let's close! <3 |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 25, 2022
…icola Increase defalt chalk overflow depth to match max solver size TBC: - rust-lang#12279: ok above 480 - ~~rust-lang#12182~~ - ~~rust-lang#12095~~ - rust-lang#11902: ok above 350 - ~~rust-lang#11668~~ - rust-lang#11370: ok above 450 - rust-lang#9754: probably ok above 250 (!), and the code in cause and branch are gone Closes rust-lang#12279 Closes rust-lang#11902 Closes rust-lang#11370 Closes rust-lang#9754
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jan 25, 2024
respect `#[allow]` attributes in `single_call_fn` lint Fixes rust-lang#12182 If we delay linting to `check_crate_post`, we need to use `span_lint_hir_and_then`, since otherwise it would only respect those lint level attributes at the crate root. <sub>... maybe we can have an internal lint for this somehow?</sub> changelog: respect `#[allow]` attributes in `single_call_fn` lint
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
There are minimal tests in libsyntax unit tests, but they are 1. nowhere near comprehensive, 2. extremely painful to read and write.
The text was updated successfully, but these errors were encountered: