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