-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This will break code that used the old `Index` trait. Change this code to use the new `Index` traits. For reference, here are their signatures: pub trait Index<Index,Result> { fn index<'a>(&'a self, index: &Index) -> &'a Result; } pub trait IndexMut<Index,Result> { fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result; } Closes #6515. [breaking-change]
- Loading branch information
Showing
18 changed files
with
433 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7e4e991
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from nick29581
at pcwalton@7e4e991
7e4e991
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging pcwalton/rust/new-index-traits = 7e4e991 into auto
7e4e991
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pcwalton/rust/new-index-traits = 7e4e991 merged ok, testing candidate = 00cdd63
7e4e991
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/222
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/223
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/222
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/223
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/225
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/226
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/225
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/231
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/226
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/225
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/228
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/226
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/225
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/226
7e4e991
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 00cdd63