fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: `?const` is not permitted in `impl Trait` 2 --> $DIR/in-impl-trait.rs:9:19 3 | 4LL | fn rpit() -> impl ?const T { S } 5 | ^^^^^^^^ 6 7error: `?const` is not permitted in `impl Trait` 8 --> $DIR/in-impl-trait.rs:12:17 9 | 10LL | fn apit(_: impl ?const T) {} 11 | ^^^^^^^^ 12 13error: `?const` is not permitted in `impl Trait` 14 --> $DIR/in-impl-trait.rs:15:50 15 | 16LL | fn rpit_assoc_bound() -> impl IntoIterator<Item: ?const T> { Some(S) } 17 | ^^^^^^^^ 18 19error: `?const` is not permitted in `impl Trait` 20 --> $DIR/in-impl-trait.rs:18:48 21 | 22LL | fn apit_assoc_bound(_: impl IntoIterator<Item: ?const T>) {} 23 | ^^^^^^^^ 24 25error: aborting due to 4 previous errors 26