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

ices/109853.rs: fixed with errors #1566

Merged
merged 1 commit into from
Apr 8, 2023
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 8, 2023

Issue: rust-lang/rust#109853

use clippy::time::Instant;

fn main() {
    let prev_instant = Instant::now();

    let duration = prev_instant.elapsed();
}
=== stdout ===
=== stderr ===
error[E0433]: failed to resolve: `clippy` is a tool module, not a module
 --> /home/runner/work/glacier/glacier/ices/109853.rs:1:5
  |
1 | use clippy::time::Instant;
  |     ^^^^^^ `clippy` is a tool module, not a module

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.
==============

=== stdout ===
=== stderr ===
error[E0433]: failed to resolve: `clippy` is a tool module, not a module
 --> /home/runner/work/glacier/glacier/ices/109853.rs:1:5
  |
1 | use clippy::time::Instant;
  |     ^^^^^^ `clippy` is a tool module, not a module

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.
==============
@Alexendoo Alexendoo merged commit c3811b6 into master Apr 8, 2023
@Alexendoo Alexendoo deleted the autofix/ices/109853.rs branch April 8, 2023 10:50
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