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

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Mar 13, 2023

No description provided.

    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 dtolnay merged commit bf9bca9 into master Mar 13, 2023
@dtolnay dtolnay deleted the wrongspan branch March 13, 2023 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant