blob: 1b16a492a7a1aa1c9a82098199f3233b811fc92f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![feature(return_type_notation)]
//~^ WARN the feature `return_type_notation` is incomplete
// Shouldn't ICE when we have a (bad) RTN in an impl header
trait Super1<'a> {
fn bar<'b>() -> bool;
}
impl Super1<'_, bar(): Send> for () {}
//~^ ERROR associated type bindings are not allowed here
fn main() {}
|