5340: Prefill reviewer r=matklad a=matklad



bors r+
🤖

5341: Reorder imports r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-07-13 13:44:38 +00:00 committed by GitHub
commit 4b1c372436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 9 deletions

View file

@ -12,9 +12,9 @@ use crate::{
diagnostics::{
MismatchedArgCount, MissingFields, MissingMatchArms, MissingOkInTailExpr, MissingPatFields,
},
match_checking::{is_useful, MatchCheckCtx, Matrix, PatStack, Usefulness},
utils::variant_data,
ApplicationTy, InferenceResult, Ty, TypeCtor,
_match::{is_useful, MatchCheckCtx, Matrix, PatStack, Usefulness},
};
pub use hir_def::{

View file

@ -31,9 +31,11 @@ pub mod traits;
pub mod method_resolution;
mod op;
mod lower;
mod match_checking;
pub(crate) mod infer;
pub mod display;
pub(crate) mod utils;
pub mod display;
pub mod db;
pub mod diagnostics;
pub mod expr;
@ -43,11 +45,8 @@ pub mod unsafe_validation;
mod tests;
#[cfg(test)]
mod test_db;
mod _match;
use std::ops::Deref;
use std::sync::Arc;
use std::{iter, mem};
use std::{iter, mem, ops::Deref, sync::Arc};
use hir_def::{
expr::ExprId,
@ -55,14 +54,15 @@ use hir_def::{
AdtId, AssocContainerId, DefWithBodyId, GenericDefId, HasModule, Lookup, TraitId, TypeAliasId,
TypeParamId,
};
use itertools::Itertools;
use ra_db::{impl_intern_key, salsa, CrateId};
use crate::{
db::HirDatabase,
display::HirDisplay,
primitive::{FloatTy, IntTy},
utils::{generics, make_mut_slice, Generics},
};
use display::HirDisplay;
pub use autoderef::autoderef;
pub use infer::{InferTy, InferenceResult};
@ -74,7 +74,6 @@ pub use lower::{
pub use traits::{InEnvironment, Obligation, ProjectionPredicate, TraitEnvironment};
pub use chalk_ir::{BoundVar, DebruijnIndex};
use itertools::Itertools;
/// A type constructor or type name: this might be something like the primitive
/// type `bool`, a struct like `Vec`, or things like function pointers or

View file

@ -93,7 +93,10 @@ impl PromoteCmd {
run!("git commit -m':arrow_up: rust-analyzer'")?;
if !self.dry_run {
run!("git push")?;
run!("xdg-open https://github.com/matklad/rust/pull/new/{}", branch)?;
run!(
"xdg-open https://github.com/matklad/rust/pull/new/{}?body=r%3F%20%40ghost",
branch
)?;
}
Ok(())
}