Don't lint incompatible_msrv in test code
This commit is contained in:
parent
28443e63fb
commit
9012d55c02
2 changed files with 11 additions and 5 deletions
|
|
@ -20,4 +20,9 @@ fn foo() {
|
|||
//~^ ERROR: is `1.3.0` but this item is stable since `1.4.0`
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
sleep(Duration::new(1, 0));
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue