rust/tests/ui/imports/cycle-import-in-std-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
181 B
Rust
Raw Normal View History

//@ edition: 2018
// https://github.com/rust-lang/rust/issues/125013
use ops::{self as std};
//~^ ERROR: unresolved import `ops`
use std::ops::Deref::{self as ops};
fn main() {}