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

ices/68890.rs: fixed with errors #283

Merged
merged 1 commit into from
Feb 12, 2020
Merged

ices/68890.rs: fixed with errors #283

merged 1 commit into from
Feb 12, 2020

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#68890

enum e{A((?'a a+?+l))}

fn main() {}
=== stdout ===
=== stderr ===
error: `?` may only modify trait bounds, not lifetime bounds
 --> /home/runner/work/glacier/glacier/ices/68890.rs:1:11
  |
1 | enum e{A((?'a a+?+l))}
  |           ^

error: expected one of `)`, `+`, or `,`, found `a`
 --> /home/runner/work/glacier/glacier/ices/68890.rs:1:15
  |
1 | enum e{A((?'a a+?+l))}
  |               ^ expected one of `)`, `+`, or `,`

error: expected trait bound, not lifetime bound
 --> /home/runner/work/glacier/glacier/ices/68890.rs:1:11
  |
1 | enum e{A((?'a a+?+l))}
  |           ^^^

error: aborting due to 3 previous errors

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

=== stdout ===
=== stderr ===
error: `?` may only modify trait bounds, not lifetime bounds
 --> /home/runner/work/glacier/glacier/ices/68890.rs:1:11
  |
1 | enum e{A((?'a a+?+l))}
  |           ^

error: expected one of `)`, `+`, or `,`, found `a`
 --> /home/runner/work/glacier/glacier/ices/68890.rs:1:15
  |
1 | enum e{A((?'a a+?+l))}
  |               ^ expected one of `)`, `+`, or `,`

error: expected trait bound, not lifetime bound
 --> /home/runner/work/glacier/glacier/ices/68890.rs:1:11
  |
1 | enum e{A((?'a a+?+l))}
  |           ^^^

error: aborting due to 3 previous errors

==============
@Alexendoo Alexendoo merged commit 5dc8c49 into master Feb 12, 2020
@Alexendoo Alexendoo deleted the autofix/ices/68890.rs branch February 12, 2020 12:12
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