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

ices/83494.rs: fixed with errors #756

Merged
merged 1 commit into from
May 14, 2021
Merged

ices/83494.rs: fixed with errors #756

merged 1 commit into from
May 14, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#83494

impl T {
    #[rustc_args_required_const(1)]
    fn is_null() {}
}
=== stdout ===
=== stderr ===
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
 --> /home/runner/work/glacier/glacier/ices/83494.rs:2:7
  |
2 |     #[rustc_args_required_const(1)]
  |       ^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `rustc_args_required_const` in this scope
 --> /home/runner/work/glacier/glacier/ices/83494.rs:2:7
  |
2 |     #[rustc_args_required_const(1)]
  |       ^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0412]: cannot find type `T` in this scope
 --> /home/runner/work/glacier/glacier/ices/83494.rs:1:6
  |
1 | impl T {
  |      ^ not found in this scope

error[E0601]: `main` function not found in crate `83494`
 --> /home/runner/work/glacier/glacier/ices/83494.rs:1:1
  |
1 | / impl T {
2 | |     #[rustc_args_required_const(1)]
3 | |     fn is_null() {}
4 | | }
  | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/83494.rs`

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0412, E0601.
For more information about an error, try `rustc --explain E0412`.
==============

=== stdout ===
=== stderr ===
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
 --> /home/runner/work/glacier/glacier/ices/83494.rs:2:7
  |
2 |     #[rustc_args_required_const(1)]
  |       ^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `rustc_args_required_const` in this scope
 --> /home/runner/work/glacier/glacier/ices/83494.rs:2:7
  |
2 |     #[rustc_args_required_const(1)]
  |       ^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0412]: cannot find type `T` in this scope
 --> /home/runner/work/glacier/glacier/ices/83494.rs:1:6
  |
1 | impl T {
  |      ^ not found in this scope

error[E0601]: `main` function not found in crate `83494`
 --> /home/runner/work/glacier/glacier/ices/83494.rs:1:1
  |
1 | / impl T {
2 | |     #[rustc_args_required_const(1)]
3 | |     fn is_null() {}
4 | | }
  | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/83494.rs`

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0412, E0601.
For more information about an error, try `rustc --explain E0412`.
==============
@Alexendoo Alexendoo merged commit 04df693 into master May 14, 2021
@Alexendoo Alexendoo deleted the autofix/ices/83494.rs branch May 14, 2021 13:57
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