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

Commit

Permalink
ices/83466.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
 --> /home/runner/work/glacier/glacier/ices/83466.rs:8:14
  |
3 |     fn func<'a, U>(self) -> U {
  |             -- the late bound lifetime parameter is introduced here
...
8 |     S.func::<'a, dont_crash>()
  |              ^^
  |
  = note: `#[warn(late_bound_lifetime_arguments)]` on by default
  = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
  = note: for more information, see issue #42868 <rust-lang/rust#42868>

error[E0747]: constant provided when a type was expected
 --> /home/runner/work/glacier/glacier/ices/83466.rs:8:18
  |
8 |     S.func::<'a, dont_crash>()
  |                  ^^^^^^^^^^
  |
  = help: `dont_crash` is a function item, not a type
  = help: function item types cannot be named directly

error: aborting due to previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0747`.
==============
  • Loading branch information
rustbot committed May 2, 2021
1 parent 498cfa2 commit aec303b
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit aec303b

Please sign in to comment.