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

Re-delay a resolve bug related to Self-ctor in patterns #133286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 21, 2024

  1. Re-delay a resolve bug

    For the code pattern reported in
    <rust-lang#133272>,
    
    ```rs
    impl Foo {
       fn fun() {
            let S { ref Self } = todo!();
       }
    }
    ```
    
    <rust-lang#121208> converted this to a
    `span_bug` from a `span_delayed_bug` because this specific self-ctor
    code pattern lacked test coverage. It turns out this can be hit but we
    just lacked test coverage, so change it back to a `span_delayed_bug` and
    add a target tested case.
    jieyouxu committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    5d30436 View commit details
    Browse the repository at this point in the history