Revert "chore: disable warnings in old CI (#4691)"

This reverts commit b24df49a9d so we can
merge the CHANGELOG changes in #4691 into master.
This commit is contained in:
Alice Ryhl
2022-05-14 20:59:52 +02:00
parent 2659adf5fe
commit cdb132d333
22 changed files with 323 additions and 37 deletions
@@ -0,0 +1,13 @@
use tests_build::tokio;
fn main() {}
// arguments and output type is forwarded so other macros can access them
#[tokio::test]
async fn test_fn_has_args(_x: u8) {}
#[tokio::test]
async fn test_has_output() -> Result<(), Box<dyn std::error::Error>> {
Ok(())
}
@@ -0,0 +1,14 @@
use tests_build::tokio;
#[tokio::main]
async fn main() -> Result<(), ()> {
loop {
if !never() {
return Ok(());
}
}
}
fn never() -> bool {
std::time::Instant::now() > std::time::Instant::now()
}
@@ -0,0 +1,6 @@
use tests_build::tokio;
#[tokio::main]
async fn main() -> Result<(), ()> {
return Ok(());
}