mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +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() {}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
|
||||
1 | use build_tests::tokio_net::udp;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `udp` in `tokio_net`
|
||||
1 | use build_tests::tokio_net::uds;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `uds` in `tokio_net`
|
||||
|
||||
For more information about this error, try `rustc --explain E0432`.
|
||||
|
||||
@@ -21,7 +21,7 @@ fn net_with_udp() {
|
||||
|
||||
#[test]
|
||||
#[cfg(feature = "net-with-uds")]
|
||||
fn net_with_udp() {
|
||||
fn net_with_uds() {
|
||||
use build_tests::tokio_net::uds;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user