mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
net: fix build-tests for uds (#1589)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use build_tests::tokio_net::udp;
|
use build_tests::tokio_net::uds;
|
||||||
|
|
||||||
fn main() {}
|
fn main() {}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
error[E0432]: unresolved import `build_tests::tokio_net::udp`
|
error[E0432]: unresolved import `build_tests::tokio_net::uds`
|
||||||
--> $DIR/net_without_uds_missing_uds.rs:1:5
|
--> $DIR/net_without_uds_missing_uds.rs:1:5
|
||||||
|
|
|
|
||||||
1 | use build_tests::tokio_net::udp;
|
1 | use build_tests::tokio_net::uds;
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `udp` in `tokio_net`
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `uds` in `tokio_net`
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0432`.
|
For more information about this error, try `rustc --explain E0432`.
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ fn net_with_udp() {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(feature = "net-with-uds")]
|
#[cfg(feature = "net-with-uds")]
|
||||||
fn net_with_udp() {
|
fn net_with_uds() {
|
||||||
use build_tests::tokio_net::uds;
|
use build_tests::tokio_net::uds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user