Skip to content

Commit 8121e1a

Browse files
committed
---
yaml --- r: 187835 b: refs/heads/tmp c: c2400bb h: refs/heads/master i: 187833: 84360f1 187831: 2efa24e v: v3
1 parent 4918022 commit 8121e1a

File tree

7 files changed

+3
-62
lines changed

7 files changed

+3
-62
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: e5cd6534c1775531b4cfe374a5c81a5a2dd899b0
37+
refs/heads/tmp: c2400bb2690fe0ee1184d5d7a66b6d2d1198b480
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/tmp/src/etc/htmldocck.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@
9696
highlights for example. If you want to simply check the presence of
9797
given node or attribute, use an empty string (`""`) as a `PATTERN`.
9898
99-
* `@count PATH XPATH COUNT' checks for the occurrence of given XPath
100-
in the given file. The number of occurrences must match the given count.
101-
10299
All conditions can be negated with `!`. `@!has foo/type.NoSuch.html`
103100
checks if the given file does not exist, for example.
104101
@@ -336,11 +333,6 @@ def check_tree_text(tree, path, pat, regexp):
336333
return ret
337334

338335

339-
def check_tree_count(tree, path, count):
340-
path = normalize_xpath(path)
341-
return len(tree.findall(path)) == count
342-
343-
344336
def check(target, commands):
345337
cache = CachedFiles(target)
346338
for c in commands:
@@ -368,13 +360,6 @@ def check(target, commands):
368360
raise RuntimeError('Invalid number of @{} arguments \
369361
at line {}'.format(c.cmd, c.lineno))
370362

371-
elif c.cmd == 'count': # count test
372-
if len(c.args) == 3: # @count <path> <pat> <count> = count test
373-
ret = check_tree_count(cache.get_tree(c.args[0]), c.args[1], int(c.args[2]))
374-
else:
375-
raise RuntimeError('Invalid number of @{} arguments \
376-
at line {}'.format(c.cmd, c.lineno))
377-
378363
elif c.cmd == 'valid-html':
379364
raise RuntimeError('Unimplemented @valid-html at line {}'.format(c.lineno))
380365

branches/tmp/src/librustdoc/clean/inline.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,6 @@ fn build_impl(cx: &DocContext, tcx: &ty::ctxt,
308308
if method.vis != ast::Public && associated_trait.is_none() {
309309
return None
310310
}
311-
if method.provided_source.is_some() {
312-
return None
313-
}
314311
let mut item = method.clean(cx);
315312
item.inner = match item.inner.clone() {
316313
clean::TyMethodItem(clean::TyMethod {

branches/tmp/src/libstd/net/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ use env;
1414
use net::{SocketAddr, IpAddr};
1515
use sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering};
1616

17+
static PORT: AtomicUsize = ATOMIC_USIZE_INIT;
18+
1719
pub fn next_test_ip4() -> SocketAddr {
18-
static PORT: AtomicUsize = ATOMIC_USIZE_INIT;
1920
SocketAddr::new(IpAddr::new_v4(127, 0, 0, 1),
2021
PORT.fetch_add(1, Ordering::SeqCst) as u16 + base_port())
2122
}
2223

2324
pub fn next_test_ip6() -> SocketAddr {
24-
static PORT: AtomicUsize = ATOMIC_USIZE_INIT;
2525
SocketAddr::new(IpAddr::new_v6(0, 0, 0, 0, 0, 0, 0, 1),
2626
PORT.fetch_add(1, Ordering::SeqCst) as u16 + base_port())
2727
}

branches/tmp/src/test/run-make/rustdoc-extern-default-method/Makefile

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

branches/tmp/src/test/run-make/rustdoc-extern-default-method/ext.rs

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

branches/tmp/src/test/run-make/rustdoc-extern-default-method/lib.rs

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

0 commit comments

Comments
 (0)