Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std: stop
vec!()
warning about unused mutability.
If no arguments are given to `vec!` then no pushes are emitted and so the compiler (rightly) complains that the mutability of `temp` is never used. This behaviour is rather annoying for users.
- Loading branch information
ba05ca6
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 cmr
at huonw@ba05ca6
ba05ca6
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 huonw/rust/vec-macro = ba05ca6 into auto
ba05ca6
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.
huonw/rust/vec-macro = ba05ca6 merged ok, testing candidate = 33768c4
ba05ca6
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/4621
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/2463
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/2463
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4618
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3718
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3724
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4634
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3722
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3728
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4636
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3722
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3727
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3795
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1613
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4630
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3731
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3738
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4395
ba05ca6
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 = 33768c4