Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
ices/83630.rs: fixed with errors (#845)
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
warning: trait objects without an explicit `dyn` are deprecated
 --> /home/runner/work/glacier/glacier/ices/83630.rs:2:14
  |
2 | static DATA: Iterator<Item = _> = "my string";
  |              ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = _>`
  |
  = note: `#[warn(bare_trait_objects)]` on by default
  = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
  = note: for more information, see issue #80165 <rust-lang/rust#80165>

error[E0121]: the type placeholder `_` is not allowed within types on item signatures
 --> /home/runner/work/glacier/glacier/ices/83630.rs:2:30
  |
2 | static DATA: Iterator<Item = _> = "my string";
  |                              ^ not allowed in type signatures

error: aborting due to previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0121`.
==============

Co-authored-by: rustbot <[email protected]>
  • Loading branch information
github-actions[bot] and rustbot authored Jun 22, 2021
1 parent 0163394 commit 010784d
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 010784d

Please sign in to comment.