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

Rustup to the latest nightly #126

Merged
merged 3 commits into from
May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ language: rust
rust: nightly
sudo: false

cache: cargo
cache:
directories:
- $HOME/.cargo
- $HOME/.rustup
before_cache:
- rm -rf /home/travis/.cargo/registry

notifications:
email:
Expand Down
4 changes: 2 additions & 2 deletions ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ case "${TRAVIS_OS_NAME}" in
;;
esac

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

Expand Down
2 changes: 1 addition & 1 deletion src/mismatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl<'a, 'tcx> TypeRelation<'tcx> for MismatchRelation<'a, 'tcx> {
}
}
(&TyKind::Tuple(as_), &TyKind::Tuple(bs)) => {
let _ = as_.iter().zip(bs).map(|(a, b)| self.relate(a, b));
let _ = as_.iter().zip(bs).map(|(a, b)| self.relate(&a, &b));
None
}
(&TyKind::Projection(a_data), &TyKind::Projection(b_data)) => {
Expand Down