Version bump
This commit is contained in:
parent
d3b862f9d7
commit
7d672888fe
|
@ -1,6 +1,9 @@
|
|||
# Change Log
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 0.0.209
|
||||
* Rustup to *rustc 1.28.0-nightly (523097979 2018-06-18)*
|
||||
|
||||
## 0.0.208
|
||||
* Rustup to *rustc 1.28.0-nightly (86a8f1a63 2018-06-17)*
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ cargo-features = ["edition"]
|
|||
|
||||
[package]
|
||||
name = "clippy"
|
||||
version = "0.0.208"
|
||||
version = "0.0.209"
|
||||
authors = [
|
||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||
"Andre Bogus <bogusandre@gmail.com>",
|
||||
|
@ -40,7 +40,7 @@ path = "src/driver.rs"
|
|||
|
||||
[dependencies]
|
||||
# begin automatic update
|
||||
clippy_lints = { version = "0.0.208", path = "clippy_lints" }
|
||||
clippy_lints = { version = "0.0.209", path = "clippy_lints" }
|
||||
# end automatic update
|
||||
regex = "1"
|
||||
semver = "0.9"
|
||||
|
|
|
@ -3,7 +3,7 @@ cargo-features = ["edition"]
|
|||
[package]
|
||||
name = "clippy_lints"
|
||||
# begin automatic update
|
||||
version = "0.0.208"
|
||||
version = "0.0.209"
|
||||
# end automatic update
|
||||
authors = [
|
||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||
|
|
|
@ -327,10 +327,12 @@ impl<'a, 'tcx> Visitor<'tcx> for RefVisitor<'a, 'tcx> {
|
|||
TyPath(ref path) => {
|
||||
self.collect_anonymous_lifetimes(path, ty);
|
||||
},
|
||||
TyImplTraitExistential(ref exist_ty, _) => {
|
||||
for bound in &exist_ty.bounds {
|
||||
if let RegionTyParamBound(_) = *bound {
|
||||
self.record(&None);
|
||||
TyImplTraitExistential(exist_ty_id, _, _) => {
|
||||
if let ItemExistential(ref exist_ty) = self.cx.tcx.hir.expect_item(exist_ty_id.id).node {
|
||||
for bound in &exist_ty.bounds {
|
||||
if let RegionTyParamBound(_) = *bound {
|
||||
self.record(&None);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -143,6 +143,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MissingDoc {
|
|||
hir::ItemGlobalAsm(..) => "an assembly blob",
|
||||
hir::ItemTy(..) => "a type alias",
|
||||
hir::ItemUnion(..) => "a union",
|
||||
hir::ItemExistential(..) => "an existential type",
|
||||
hir::ItemExternCrate(..) |
|
||||
hir::ItemForeignMod(..) |
|
||||
hir::ItemImpl(..) |
|
||||
|
|
|
@ -380,6 +380,9 @@ fn print_item(cx: &LateContext, item: &hir::Item) {
|
|||
hir::ItemTy(..) => {
|
||||
println!("type alias for {:?}", cx.tcx.type_of(did));
|
||||
},
|
||||
hir::ItemExistential(..) => {
|
||||
println!("existential type with real type {:?}", cx.tcx.type_of(did));
|
||||
},
|
||||
hir::ItemEnum(..) => {
|
||||
println!("enum definition of type {:?}", cx.tcx.type_of(did));
|
||||
},
|
||||
|
|
|
@ -981,6 +981,7 @@ pub fn opt_def_id(def: Def) -> Option<DefId> {
|
|||
Def::Const(id) |
|
||||
Def::AssociatedConst(id) |
|
||||
Def::Macro(id, ..) |
|
||||
Def::Existential(id) |
|
||||
Def::GlobalAsm(id) => Some(id),
|
||||
|
||||
Def::Upvar(..) | Def::Local(_) | Def::Label(..) | Def::PrimTy(..) | Def::SelfTy(..) | Def::Err => None,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
rustc 1.28.0-nightly (86a8f1a63 2018-06-17)
|
||||
rustc 1.28.0-nightly (523097979 2018-06-18)
|
||||
binary: rustc
|
||||
commit-hash: 86a8f1a6374dd558ebdafe061e61720a73ae732c
|
||||
commit-date: 2018-06-17
|
||||
commit-hash: 5230979794db209de492b3f7cc688020b72bc7c6
|
||||
commit-date: 2018-06-18
|
||||
host: x86_64-unknown-linux-gnu
|
||||
release: 1.28.0-nightly
|
||||
LLVM version: 6.0
|
||||
|
|
Loading…
Reference in New Issue