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 help message for missing IndexMut impl #52788

Merged
merged 3 commits into from
Aug 10, 2018

Commits on Jul 28, 2018

  1. Add help message for missing IndexMut impl

    Before this change it simply says "cannot assign to immutable indexed
    content". This might be confusing for Rust beginners, as implementing
    two traits for "one operator" is not intuitive.
    LukasKalbertodt committed Jul 28, 2018
    Configuration menu
    Copy the full SHA
    9d59c6b View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Make IndexMut note apply to more cases

    Previously it was only emitted for assigments, which was an
    unnecessary restriction. Now it doesn't care where the mutability
    comes from.
    
    This commit also adds `` quotes around the printed type.
    LukasKalbertodt committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    764d472 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24abef3 View commit details
    Browse the repository at this point in the history