mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
22a5125a36
Most tests involving save-analysis were removed, but I kept a few where the `-Zsave-analysis` was an add-on to the main thing being tested, rather than the main thing being tested. For `x.py install`, the `rust-analysis` target has been removed. For `x.py dist`, the `rust-analysis` target has been kept in a degenerate form: it just produces a single file `reduced.json` indicating that save-analysis has been removed. This is necessary for rustup to keep working. Closes #43606.
12 lines
382 B
Plaintext
12 lines
382 B
Plaintext
error[E0038]: the trait alias `SelfInput` cannot be made into an object
|
|
--> $DIR/self-in-generics.rs:8:19
|
|
|
|
|
LL | pub fn f(_f: &dyn SelfInput) {}
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: it cannot use `Self` as a type parameter in a supertrait or `where`-clause
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0038`.
|