about summary refs log tree commit diff
path: root/src/test/ui/span
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-01-03 17:00:24 +0000
committerbors <bors@rust-lang.org>2018-01-03 17:00:24 +0000
commitd96cc6e2865ff2cc77f061ae97e58aae50f5a1e9 (patch)
tree7b82c1383f43ed10226029582841835212f24f22 /src/test/ui/span
parent8d1a30289ea13c433a92e31627f8533350835328 (diff)
parent3ca407e24bcc2b668de1f56e453903701849f79f (diff)
downloadrust-d96cc6e2865ff2cc77f061ae97e58aae50f5a1e9.tar.gz
rust-d96cc6e2865ff2cc77f061ae97e58aae50f5a1e9.zip
Auto merge of #47127 - EdSchouten:cloudabi-tests, r=kennytm
First cut at getting some part of the test suite working for CloudABI

I am currently working on creating a Docker container for automated CI for CloudABI. Here are some of the trivial changes that need to land to make tests pass.
Diffstat (limited to 'src/test/ui/span')
-rw-r--r--src/test/ui/span/issue-33884.rs2
-rw-r--r--src/test/ui/span/issue-33884.stderr4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/span/issue-33884.rs b/src/test/ui/span/issue-33884.rs
index 93aa502ee15..d0f23caa538 100644
--- a/src/test/ui/span/issue-33884.rs
+++ b/src/test/ui/span/issue-33884.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// ignore-cloudabi no std::net support
+
 use std::net::TcpListener;
 use std::net::TcpStream;
 use std::io::{self, Read, Write};
diff --git a/src/test/ui/span/issue-33884.stderr b/src/test/ui/span/issue-33884.stderr
index cf5190bba0c..5a9c2051a71 100644
--- a/src/test/ui/span/issue-33884.stderr
+++ b/src/test/ui/span/issue-33884.stderr
@@ -1,7 +1,7 @@
 error[E0308]: mismatched types
-  --> $DIR/issue-33884.rs:16:22
+  --> $DIR/issue-33884.rs:18:22
    |
-16 |     stream.write_fmt(format!("message received"))
+18 |     stream.write_fmt(format!("message received"))
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::fmt::Arguments`, found struct `std::string::String`
    |
    = note: expected type `std::fmt::Arguments<'_>`