Skip to content

Commit 727c5e6

Browse files
pcwaltonemberian
authored andcommitted
---
yaml --- r: 68454 b: refs/heads/auto c: f25f466 h: refs/heads/master v: v3
1 parent e8c7767 commit 727c5e6

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: f6a27cbda273d5d39af953bca12990cc4930382c
17+
refs/heads/auto: f25f466afe7d4d94d711e4f288fd39ab72f1cc61
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/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

branches/auto/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
}

branches/auto/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.

branches/auto/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)