rust/tests/ui/impl-trait/precise-capturing/dyn-use.stderr
2024-08-17 12:33:29 -04:00

9 lines
286 B
Plaintext

error: expected one of `!`, `(`, `::`, `<`, `where`, or `{`, found keyword `use`
--> $DIR/dyn-use.rs:1:26
|
LL | fn dyn() -> &'static dyn use<> { &() }
| ^^^ expected one of `!`, `(`, `::`, `<`, `where`, or `{`
error: aborting due to 1 previous error