Skip to content

regression: invalid doc attribute #123293

Closed as not planned
Closed as not planned

Description

@Mark-Simulacrum

[INFO] [stdout] ---- src/lib.rs - (line 48) stdout ----
[INFO] [stdout] error: invalid `doc` attribute
[INFO] [stdout]   --> src/lib.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[doc("This attribute will be applied on the `impl` block")] Left, Right:
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(invalid_doc_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: invalid `doc` attribute
[INFO] [stdout]   --> src/lib.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[doc("This attribute will be applied on the `fn` block")] a + b -> Answer {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors

https://crater-reports.s3.amazonaws.com/beta-1.78-3/beta-2024-03-30/reg/operator-sugar-0.1.2/log.txt

Activity

  1. added
    T-compiler
    regression-from-stable-to-beta
    on Mar 31, 2024
  2. added this to the 1.78.0 milestone on Mar 31, 2024
  3. added
    I-prioritize
    needs-triage
    on Mar 31, 2024
  4. fmease commented on Mar 31, 2024

    @fmease
    Member

    I, as the reviewer, did a crater run for this in the regressing PR #121545, found a single regression which was fixed by a contributor, and I deemed it okay to merge it as it's a correctness fix. I was fully aware that this was a breaking change.

    Since an incredibly similar PR authored by myself, namely #104148, was merged without a (lang) FCP and only a crater run more than a year ago, I followed suit.

  5. removed
    I-prioritize
    needs-triage
    on Mar 31, 2024
  6. Mark-Simulacrum commented on Mar 31, 2024

    @Mark-Simulacrum
    MemberAuthor

    Sounds good, that sounds fine to me. We'll mention this in release notes.

  7. added
    A-attributes
    on Mar 31, 2024
  8. added
    regression-from-stable-to-stable
    and removed
    regression-from-stable-to-beta
    on Oct 11, 2024
  9. added
    I-prioritize
    on Oct 11, 2024
  10. removed
    I-prioritize
    on Oct 12, 2024
  11. apiraino commented on Oct 15, 2024

    @apiraino
    Contributor

    Closing since regression is mentioned in the release notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesT-compilerregression-from-stable-to-stable

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions