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

Fix span for non-satisfied trivial trait bounds #90884

Merged
merged 1 commit into from
Nov 17, 2021

Commits on Nov 14, 2021

  1. Fix span for non-satisfied trivial trait bounds

    The spans for "trait bound not satisfied" errors in trivial trait bounds referenced the entire item (fn, impl, struct) before.
    Now they only reference the obligation itself (`String: Copy`)
    
    Address rust-lang#90869
    Noratrieb committed Nov 14, 2021
    Configuration menu
    Copy the full SHA
    24acf86 View commit details
    Browse the repository at this point in the history