mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 13:36:49 +00:00
Long lines
This commit is contained in:
parent
10c9d7921d
commit
e5e6d3c43d
@ -372,7 +372,8 @@ fn method_ty_param_count(ccx: @crate_ctxt, m_id: ast::def_id,
|
||||
None => {
|
||||
match ccx.tcx.provided_method_sources.find(m_id) {
|
||||
Some(source) => {
|
||||
method_ty_param_count(ccx, source.method_id, source.impl_id)
|
||||
method_ty_param_count(
|
||||
ccx, source.method_id, source.impl_id)
|
||||
}
|
||||
None => fail
|
||||
}
|
||||
|
@ -438,9 +438,9 @@ type ctxt =
|
||||
normalized_cache: HashMap<t, t>,
|
||||
lang_items: middle::lang_items::LanguageItems,
|
||||
legacy_boxed_traits: HashMap<node_id, ()>,
|
||||
// A mapping from an implementation ID to the method info and trait method
|
||||
// ID of the provided (a.k.a. default) methods in the traits that that
|
||||
// implementation implements.
|
||||
// A mapping from an implementation ID to the method info and trait
|
||||
// method ID of the provided (a.k.a. default) methods in the traits that
|
||||
// that implementation implements.
|
||||
provided_methods: ProvidedMethodsMap,
|
||||
provided_method_sources: HashMap<ast::def_id, ProvidedMethodSource>,
|
||||
supertraits: HashMap<ast::def_id, @~[InstantiatedTraitRef]>,
|
||||
|
@ -19,7 +19,8 @@ use metadata::csearch::{get_impls_for_mod};
|
||||
use metadata::cstore::{CStore, iter_crate_data};
|
||||
use metadata::decoder::{dl_def, dl_field, dl_impl};
|
||||
use middle::resolve::{Impl, MethodInfo};
|
||||
use middle::ty::{DerivedMethodInfo, ProvidedMethodSource, ProvidedMethodInfo, get};
|
||||
use middle::ty::{DerivedMethodInfo, ProvidedMethodSource,
|
||||
ProvidedMethodInfo, get};
|
||||
use middle::ty::{lookup_item_type, subst, t, ty_bot, ty_box, ty_class};
|
||||
use middle::ty::{ty_bool, ty_enum, ty_int, ty_nil, ty_ptr, ty_rptr, ty_uint};
|
||||
use middle::ty::{ty_float, ty_estr, ty_evec, ty_rec, ty_uniq};
|
||||
|
Loading…
Reference in New Issue
Block a user