diff --git a/.travis.yml b/.travis.yml index 4432a37d..75fec5aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: rust rust: - - 1.26.0 + - 1.27.0 - stable - beta - nightly diff --git a/audio/src/lewton_decoder.rs b/audio/src/lewton_decoder.rs index 982ed157..912d1c27 100644 --- a/audio/src/lewton_decoder.rs +++ b/audio/src/lewton_decoder.rs @@ -75,7 +75,7 @@ impl error::Error for VorbisError { error::Error::description(&self.0) } - fn cause(&self) -> Option<&error::Error> { - error::Error::cause(&self.0) + fn source(&self) -> Option<&(dyn error::Error + 'static)> { + error::Error::source(&self.0) } }