Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test of r#source that is not Error::source #350

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Commits on Nov 4, 2024

  1. Add test of r#source that is not Error::source

    Without r#source:
    
        error[E0599]: the method `as_dyn_error` exists for type `char`, but its trait bounds were not satisfied
          --> tests/test_source.rs:72:9
           |
        72 |         source: char,
           |         ^^^^^^ method cannot be called on `char` due to unsatisfied trait bounds
           |
           = note: the following trait bounds were not satisfied:
                   `char: std::error::Error`
                   which is required by `char: AsDynError<'_>`
    dtolnay committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    b2df5d5 View commit details
    Browse the repository at this point in the history