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

tests: Uncomment now valid GAT code behind FIXME #114629

Merged
merged 1 commit into from
Aug 9, 2023

Commits on Aug 8, 2023

  1. tests: Uncomment now valid GAT code behind FIXME

    The code fails to parse with `nightly-2021-02-05`:
    
        $ cargo +nightly-2021-02-05 build
        error: generic associated types in trait paths are currently not implemented
         --> src/main.rs:9:42
          |
        9 | fn _bar<T: for<'a> StreamingIterator<Item<'a> = &'a [i32]>>(_iter: T) { /* ... */
          |                                          ^^^^
    
    but parses with `nightly-2021-02-06`:
    
        $ cargo +nightly-2021-02-06 build
        warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
        warning: 1 warning emitted
    
    because it was (with high probability) fixed by PR 79554 which was merged
    within that nightly range.
    Enselic committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    ff574b7 View commit details
    Browse the repository at this point in the history