Ensure rt and rt_multi_thread aren't both enabled
This commit is contained in:
parent
7f3bb944b7
commit
aa657d12fc
|
@ -14,6 +14,8 @@
|
|||
clippy::new_without_default,
|
||||
clippy::useless_conversion
|
||||
)]
|
||||
#[cfg(all(feature = "rt", feature = "rt_multi_thread"))]
|
||||
compile_error!("feature \"rt\" and feature \"rt_multi_thread\" cannot be enabled at the same time");
|
||||
|
||||
use url::{ParseError, Url};
|
||||
|
||||
|
|
Loading…
Reference in New Issue