Skip to content

Commit 2e9cdf4

Browse files
committed
librustc: Fix even *more* merge fallout!
1 parent bbb8649 commit 2e9cdf4

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

src/librustc/metadata/decoder.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,10 @@ impl<'self> EachItemContext<'self> {
523523
Mod | ForeignMod | Trait | Impl => {
524524
continue = self.each_item_of_module(def_id);
525525
}
526-
ImmStatic | MutStatic | Struct | UnsafeFn | Fn | PureFn |
527-
ForeignFn | UnsafeStaticMethod | StaticMethod |
528-
PureStaticMethod | Type | ForeignType | Variant | Enum |
529-
PublicField | PrivateField | InheritedField => {}
526+
ImmStatic | MutStatic | Struct | UnsafeFn | Fn | ForeignFn |
527+
UnsafeStaticMethod | StaticMethod | Type | ForeignType |
528+
Variant | Enum | PublicField | PrivateField |
529+
InheritedField => {}
530530
}
531531
}
532532

src/librustc/middle/ty.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,11 +2293,11 @@ pub fn type_contents(cx: ctxt, ty: t) -> TypeContents {
22932293
BoundCopy if store == UniqTraitStore
22942294
=> TC_NONCOPY_TRAIT,
22952295
BoundCopy => TC_NONE, // @Trait/&Trait are copyable either way
2296-
BoundStatic if bounds.contains_elem(BoundOwned)
2297-
=> TC_NONE, // Owned bound implies static bound.
2296+
BoundStatic if bounds.contains_elem(BoundSend)
2297+
=> TC_NONE, // Send bound implies static bound.
22982298
BoundStatic => TC_BORROWED_POINTER, // Useful for "@Trait:'static"
2299-
BoundOwned => TC_NON_OWNED,
2300-
BoundConst => TC_MUTABLE,
2299+
BoundSend => TC_NON_SENDABLE,
2300+
BoundFreeze => TC_MUTABLE,
23012301
BoundSized => TC_NONE, // don't care if interior is sized
23022302
};
23032303
}

src/librustc/middle/typeck/astconv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ fn conv_builtin_bounds(tcx: ty::ctxt, ast_bounds: &Option<OptVec<ast::TyParamBou
790790
},
791791
// ~Trait is sugar for ~Trait:Owned.
792792
(&None, ty::UniqTraitStore) => {
793-
let mut set = ty::EmptyBuiltinBounds(); set.add(ty::BoundOwned); set
793+
let mut set = ty::EmptyBuiltinBounds(); set.add(ty::BoundSend); set
794794
}
795795
// @Trait is sugar for @Trait:'static.
796796
// &'static Trait is sugar for &'static Trait:'static.

src/librustpkg/rustpkg.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ pub trait CtxMethods {
192192
fn clean(&self, workspace: &Path, id: &PkgId);
193193
fn info(&self);
194194
fn install(&self, workspace: &Path, id: &PkgId);
195+
fn install_no_build(&self, workspace: &Path, id: &PkgId);
195196
fn prefer(&self, _id: &str, _vers: Option<~str>);
196197
fn test(&self);
197198
fn uninstall(&self, _id: &str, _vers: Option<~str>);

0 commit comments

Comments
 (0)