Revert "Upgrade to rustc 1.27.0-nightly (8a37c75a3 2018-05-02)"

This reverts commit 46ad811017.
This commit is contained in:
Josh Matthews 2018-05-18 11:44:47 -05:00
parent a8bdd44ece
commit e7979380ba
6 changed files with 14 additions and 6 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().with(|nm| nm == *p))
.all(|(nm, p)| &*nm.as_interned_str() == *p)
}
pub fn in_derive_expn(span: Span) -> bool {