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

Improve error message on incorrectly typed span #247

Merged
merged 2 commits into from
Mar 13, 2023
Merged

Improve error message on incorrectly typed span #247

merged 2 commits into from
Mar 13, 2023

Commits on Mar 13, 2023

  1. Configuration menu
    Copy the full SHA
    8931b2a View commit details
    Browse the repository at this point in the history
  2. Ignore intentional unused_self pedantic clippy lint

        error: unused `self` argument
           --> src/runtime.rs:200:28
            |
        200 |         pub fn __into_span(&self) -> T {
            |                            ^^^^^
            |
            = help: consider refactoring to an associated function
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
            = note: `-D clippy::unused-self` implied by `-D clippy::pedantic`
    dtolnay committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    d67f6ff View commit details
    Browse the repository at this point in the history