Skip to content

Commit

Permalink
ices/102140.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
warning: the feature `return_position_impl_trait_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes
 --> /home/runner/work/glacier/glacier/ices/102140.rs:1:12
  |
1 | #![feature(return_position_impl_trait_in_trait)]
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #91611 <rust-lang/rust#91611> for more information
  = note: `#[warn(incomplete_features)]` on by default

error[E0601]: `main` function not found in crate `102140`
  --> /home/runner/work/glacier/glacier/ices/102140.rs:23:2
   |
23 | }
   |  ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/102140.rs`

error[E0277]: the trait bound `&dyn MyTrait: MyTrait` is not satisfied
  --> /home/runner/work/glacier/glacier/ices/102140.rs:21:22
   |
21 |         MyTrait::foo(&self)
   |         ------------ -^^^^
   |         |            |
   |         |            the trait `MyTrait` is not implemented for `&dyn MyTrait`
   |         |            help: consider removing the leading `&`-reference
   |         required by a bound introduced by this call

error[E0277]: the trait bound `&dyn MyTrait: MyTrait` is not satisfied
  --> /home/runner/work/glacier/glacier/ices/102140.rs:21:9
   |
21 |         MyTrait::foo(&self)
   |         ^^^^^^^^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `&dyn MyTrait`
   |
   = help: the trait `MyTrait` is implemented for `Outer`

error[E0277]: the trait bound `&dyn MyTrait: MyTrait` is not satisfied
  --> /home/runner/work/glacier/glacier/ices/102140.rs:21:9
   |
21 |         MyTrait::foo(&self)
   |         ^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `&dyn MyTrait`
   |
   = help: the trait `MyTrait` is implemented for `Outer`

error: aborting due to 4 previous errors; 1 warning emitted

Some errors have detailed explanations: E0277, E0601.
For more information about an error, try `rustc --explain E0277`.
==============
  • Loading branch information
rustbot committed Oct 2, 2022
1 parent cd0b80b commit ff2832b
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit ff2832b

Please sign in to comment.