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

ices/74608.rs: fixed with errors #483

Merged
merged 1 commit into from
Oct 3, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 3, 2020

Issue: rust-lang/rust#74608

#![feature(rustc_attrs)]

#[rustc_args_required_const(1)]
fn foo(_: u8) {}

fn main() {
    foo(1);
}
=== stdout ===
=== stderr ===
error: index exceeds number of arguments
 --> /home/runner/work/glacier/glacier/ices/74608.rs:3:29
  |
3 | #[rustc_args_required_const(1)]
  |                             ^ there is only 1 argument

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error: index exceeds number of arguments
 --> /home/runner/work/glacier/glacier/ices/74608.rs:3:29
  |
3 | #[rustc_args_required_const(1)]
  |                             ^ there is only 1 argument

error: aborting due to previous error

==============
@JohnTitor JohnTitor merged commit ee17be6 into master Oct 3, 2020
@JohnTitor JohnTitor deleted the autofix/ices/74608.rs branch October 3, 2020 13:09
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