commit | 58f6f67111cd0705ca491e9d349d6895820b0288 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Oct 19 08:44:25 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Oct 19 08:44:37 2016 -0700 |
tree | 528e4d1a3260fb19981e56edc3627be3cbb7d945 | |
parent | 391e1abc984e5075eccf900847cf44286284e18e [diff] [blame] |
Fix clippy lints
diff --git a/src/aster/qpath.rs b/src/aster/qpath.rs index 71f68b1..6ecde86 100644 --- a/src/aster/qpath.rs +++ b/src/aster/qpath.rs
@@ -65,6 +65,9 @@ where F: Invoke<(QSelf, Path)> { /// Build a qualified path with a path builder. + // Clippy false positive + // https://github.com/Manishearth/rust-clippy/issues/1285 + #[cfg_attr(feature = "clippy", allow(wrong_self_convention))] pub fn as_(self) -> PathBuilder<Self> { PathBuilder::with_callback(self) }