Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 07a8199

Browse files
authored
Merge pull request #126 from JohnTitor/rustup
Rustup to the latest nightly
2 parents 3084a64 + 5edcb42 commit 07a8199

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ language: rust
22
rust: nightly
33
sudo: false
44

5-
cache: cargo
5+
cache:
6+
directories:
7+
- $HOME/.cargo
8+
- $HOME/.rustup
9+
before_cache:
10+
- rm -rf /home/travis/.cargo/registry
611

712
notifications:
813
email:

ci/run.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ case "${TRAVIS_OS_NAME}" in
3333
;;
3434
esac
3535

36-
# FIXME: Somehow we couldn't install semverver on Travis' Windows builder.
37-
if [ "${TRAVIS_OS_NAME}" = "windows" ]; then
36+
# FIXME: Sometimes we couldn't install semverver on Travis' Windows builder.
37+
if [ "${TRAVIS_OS_NAME}" != "linux" ]; then
3838
exit 0
3939
fi
4040

src/mismatch.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ impl<'a, 'tcx> TypeRelation<'tcx> for MismatchRelation<'a, 'tcx> {
236236
}
237237
}
238238
(&TyKind::Tuple(as_), &TyKind::Tuple(bs)) => {
239-
let _ = as_.iter().zip(bs).map(|(a, b)| self.relate(a, b));
239+
let _ = as_.iter().zip(bs).map(|(a, b)| self.relate(&a, &b));
240240
None
241241
}
242242
(&TyKind::Projection(a_data), &TyKind::Projection(b_data)) => {

0 commit comments

Comments
 (0)