Skip to content

Commit 0f25fca

Browse files
committed
update import in UI test
1 parent e259373 commit 0f25fca

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fn main() {
2-
let _ = std::sys::os::errno();
2+
let _ = std::sys::io::errno();
33
//~^ERROR module `sys` is private
44
}

tests/ui/stability-attribute/stability-in-private-module.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error[E0603]: module `sys` is private
22
--> $DIR/stability-in-private-module.rs:2:18
33
|
4-
LL | let _ = std::sys::os::errno();
4+
LL | let _ = std::sys::io::errno();
55
| ^^^ ----- function `errno` is not publicly re-exported
66
| |
77
| private module

0 commit comments

Comments
 (0)