This commit is contained in:
Harald Hoyer 2020-03-03 14:37:11 +01:00
parent 3e270f1e1a
commit 1d43a39c61
No known key found for this signature in database
GPG key ID: 340F12141EA0994D
18 changed files with 83 additions and 84 deletions

View file

@ -4,7 +4,7 @@ use std::fmt::Write;
use std::io;
#[test]
fn test_iter() -> Result<(), Box<Error + Send + Sync>> {
fn test_iter() -> Result<(), Box<dyn Error + Send + Sync>> {
let err = io::Error::from(io::ErrorKind::NotFound);
let err = cherr!(err, "1");
let err = cherr!(err, "2");
@ -31,7 +31,7 @@ fn test_iter() -> Result<(), Box<Error + Send + Sync>> {
}
#[test]
fn test_find_cause() -> Result<(), Box<Error + Send + Sync>> {
fn test_find_cause() -> Result<(), Box<dyn Error + Send + Sync>> {
let err = io::Error::from(io::ErrorKind::NotFound);
let err = cherr!(err, "1");
let err = cherr!(err, "2");
@ -48,7 +48,7 @@ fn test_find_cause() -> Result<(), Box<Error + Send + Sync>> {
}
#[test]
fn test_root_cause() -> Result<(), Box<Error + Send + Sync>> {
fn test_root_cause() -> Result<(), Box<dyn Error + Send + Sync>> {
let err = io::Error::from(io::ErrorKind::NotFound);
let err = cherr!(err, "1");
let err = cherr!(err, "2");