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

ices/66340.rs: fixed with errors #214

Merged
merged 1 commit into from
Nov 24, 2019
Merged

ices/66340.rs: fixed with errors #214

merged 1 commit into from
Nov 24, 2019

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#66340

fn main() {
    println!("main.");
    foo(); // remove this line for compiler output A
}

#[deprecated(note=test)]
fn foo(){
    println!("Hello, world");
}
=== stdout ===
=== stderr ===
error: expected unsuffixed literal or identifier, found `test`
 --> /home/runner/work/glacier/glacier/ices/66340.rs:6:19
  |
6 | #[deprecated(note=test)]
  |                   ^^^^

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error: expected unsuffixed literal or identifier, found `test`
 --> /home/runner/work/glacier/glacier/ices/66340.rs:6:19
  |
6 | #[deprecated(note=test)]
  |                   ^^^^

error: aborting due to previous error

==============
@Alexendoo Alexendoo merged commit ddf3b50 into master Nov 24, 2019
@Alexendoo Alexendoo deleted the autofix/ices/66340.rs branch November 24, 2019 12:31
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