about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
diff options
context:
space:
mode:
authorMartin Nordholts <enselic@gmail.com>2023-08-06 21:02:09 +0200
committerMartin Nordholts <enselic@gmail.com>2023-08-08 16:39:34 +0200
commitff574b77ab05c4b74225746c1bc0082c114f902a (patch)
tree27bb996e54d270355c2eae604d91df5bb2e8f41f /compiler/rustc_codegen_llvm/src/back/write.rs
parent617821ab32b7a7563f561812385e2fba7b1d2981 (diff)
downloadrust-ff574b77ab05c4b74225746c1bc0082c114f902a.tar.gz
rust-ff574b77ab05c4b74225746c1bc0082c114f902a.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions