You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== 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`.
==============
0 commit comments