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

10 lines
181 B
Rust

//@ 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() {}