Skip to content

Commit 03478c7

Browse files
committed
---
yaml --- r: 65453 b: refs/heads/master c: 308774e h: refs/heads/master i: 65451: 8e6d4f6 v: v3
1 parent 808ad94 commit 03478c7

File tree

7 files changed

+16
-106
lines changed

7 files changed

+16
-106
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a9c3b3885da3395427773a2f48a0e1f9f033551b
2+
refs/heads/master: 308774e05b8c42e900d2c6125852f670cbc7dd85
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/configure

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,13 @@ then
970970
putvar CFG_CCACHE_CPP2
971971
fi
972972

973+
if [ ! -z "$CFG_ENABLE_CCACHE" ]
974+
then
975+
CFG_CCACHE_BASEDIR=${CFG_SRC_DIR}
976+
putvar CFG_CCACHE_BASEDIR
977+
fi
978+
979+
973980
if [ ! -z $BAD_PANDOC ]
974981
then
975982
CFG_PANDOC=

trunk/mk/platform.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,11 @@ ifeq ($(CFG_CCACHE_CPP2),1)
396396
export CCACHE_CPP
397397
endif
398398

399+
ifdef CFG_CCACHE_BASEDIR
400+
CCACHE_BASEDIR=$(CFG_CCACHE_BASEDIR)
401+
export CCACHE_BASEDIR
402+
endif
403+
399404
define CFG_MAKE_TOOLCHAIN
400405
CFG_COMPILE_C_$(1) = $$(CC_$(1)) \
401406
$$(CFG_GCCISH_CFLAGS) \

trunk/src/etc/zsh/_rust

Lines changed: 0 additions & 102 deletions
This file was deleted.

trunk/src/librustc/middle/kind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ pub fn check_durable(tcx: ty::ctxt, ty: ty::t, sp: span) -> bool {
421421
match ty::get(ty).sty {
422422
ty::ty_param(*) => {
423423
tcx.sess.span_err(sp, "value may contain borrowed \
424-
pointers; use `'static` bound");
424+
pointers; add `'static` bound");
425425
}
426426
_ => {
427427
tcx.sess.span_err(sp, "value may contain borrowed \

trunk/src/test/compile-fail/kindck-owned-trait-scoped.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn to_foo_2<T:Copy>(t: T) -> @foo {
3737
// Not OK---T may contain borrowed ptrs and it is going to escape
3838
// as part of the returned foo value
3939
struct F<T> { f: T }
40-
@F {f:t} as @foo //~ ERROR value may contain borrowed pointers; use `'static` bound
40+
@F {f:t} as @foo //~ ERROR value may contain borrowed pointers; add `'static` bound
4141
}
4242

4343
fn to_foo_3<T:Copy + 'static>(t: T) -> @foo {

trunk/src/test/compile-fail/kindck-owned-trait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
trait foo { fn foo(&self); }
1212

1313
fn to_foo<T:Copy + foo>(t: T) -> @foo {
14-
@t as @foo //~ ERROR value may contain borrowed pointers; use `'static` bound
14+
@t as @foo //~ ERROR value may contain borrowed pointers; add `'static` bound
1515
}
1616

1717
fn to_foo2<T:Copy + foo + 'static>(t: T) -> @foo {

0 commit comments

Comments
 (0)