mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
In order to expose edition dependent divergences in some tests in the test suite, add explicit `edition` annotations. Some of these tests might require additional work to *avoid* the divergences, as they might have been unintentional. These are not exhaustive changes, purely opportunistic while looking at something else.
9 lines
286 B
Plaintext
9 lines
286 B
Plaintext
error: expected one of `!`, `(`, `::`, `<`, `where`, or `{`, found keyword `use`
|
|
--> $DIR/dyn-use.rs:4:26
|
|
|
|
|
LL | fn dyn() -> &'static dyn use<> { &() }
|
|
| ^^^ expected one of `!`, `(`, `::`, `<`, `where`, or `{`
|
|
|
|
error: aborting due to 1 previous error
|
|
|