Skip to content

Commit 30425bf

Browse files
committed
Test fixes and rebase conflicts
1 parent b9d9a37 commit 30425bf

File tree

6 files changed

+4
-384
lines changed

6 files changed

+4
-384
lines changed

src/librustc/middle/stability.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ impl<'a> Annotator<'a> {
9696
if tag == "unstable" || tag == "stable" || tag == "deprecated" {
9797
attr::mark_used(attr);
9898
self.sess.span_warn(attr.span(),
99-
"stability attributes are deprecated and will soon become errors");
99+
"stability attributes are deprecated \
100+
and will soon become errors");
100101
}
101102
}
102103
f(self);

src/libstd/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ impl Path {
15701570
/// # Examples
15711571
///
15721572
/// ```
1573-
/// use std::path::Path;
1573+
/// use std::path::{Path, PathBuf};
15741574
///
15751575
/// let path = Path::new("/tmp/foo.rs");
15761576
///

src/libsyntax/print/pprust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ pub fn stmt_to_string(stmt: &ast::Stmt) -> String {
352352
$to_string(|s| s.print_stmt(stmt))
353353
}
354354

355-
pub fn attr_to_string(attr: &ast::Attr) -> String {
355+
pub fn attr_to_string(attr: &ast::Attribute) -> String {
356356
$to_string(|s| s.print_attribute(attr))
357357
}
358358

src/test/run-pass/tcp-accept-stress.rs

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

src/test/run-pass/tcp-connect-timeouts.rs

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

0 commit comments

Comments
 (0)