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

ices/93282.rs: fixed with errors #1100

Merged
merged 1 commit into from
Jan 27, 2022
Merged

ices/93282.rs: fixed with errors #1100

merged 1 commit into from
Jan 27, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#93282

fn foo() {
  A<'a,>
}
pub fn main() {}
=== stdout ===
=== stderr ===
error: expected one of `.`, `:`, `;`, `?`, `for`, `loop`, `while`, `{`, `}`, or an operator, found `,`
 --> /home/runner/work/glacier/glacier/ices/93282.rs:2:7
  |
2 |   A<'a,>
  |       ^ expected one of 10 possible tokens
  |
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
  |
2 |   A::<'a,>
  |    ++

error: aborting due to previous error

==============

=== stdout ===
=== stderr ===
error: expected one of `.`, `:`, `;`, `?`, `for`, `loop`, `while`, `{`, `}`, or an operator, found `,`
 --> /home/runner/work/glacier/glacier/ices/93282.rs:2:7
  |
2 |   A<'a,>
  |       ^ expected one of 10 possible tokens
  |
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
  |
2 |   A::<'a,>
  |    ++

error: aborting due to previous error

==============
@Alexendoo Alexendoo merged commit f07abe0 into master Jan 27, 2022
@Alexendoo Alexendoo deleted the autofix/ices/93282.rs branch January 27, 2022 12:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants