Ignore some lints to support old compilers
diff --git a/src/lib.rs b/src/lib.rs
index a2f2e5b..5e617ef 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -236,6 +236,7 @@
 
 // Syn types in rustdoc of other crates get linked to here.
 #![doc(html_root_url = "https://docs.rs/syn/0.15.34")]
+#![allow(unknown_lints, bare_trait_objects, ellipsis_inclusive_range_patterns)]
 #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
 #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
 // Ignored clippy lints.