Upgrade to rustc 1.28.0-nightly (524ad9b9e 2018-05-29)

Fixes https://github.com/servo/servo/issues/20844
This commit is contained in:
Anthony Ramine 2018-05-24 11:28:20 +02:00 committed by Simon Sapin
parent 11a89bcc47
commit a553964123
10 changed files with 9 additions and 16 deletions

View file

@ -25,7 +25,7 @@ pub fn match_def_path(cx: &LateContext, def_id: DefId, path: &[&str]) -> bool {
other.into_iter()
.map(|e| e.data)
.zip(path)
.all(|(nm, p)| &*nm.as_interned_str() == *p)
.all(|(nm, p)| &*nm.as_interned_str().as_str() == *p)
}
pub fn in_derive_expn(span: Span) -> bool {