Files
rust/tests/ui/imports/global-path-resolution-drop.rs

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

11 lines
176 B
Rust
Raw Normal View History

2025-06-06 23:29:49 +05:00
//! Checks global path resolution of `mem::drop` using a leading `::`.
//@ run-pass
#![allow(dropping_copy_types)]
2014-12-09 22:53:12 -08:00
fn main() {
use ::std::mem;
mem::drop(2_usize);
2014-12-09 22:53:12 -08:00
}