diff options
author | David Malcolm <dmalcolm@redhat.com> | 2023-01-05 10:01:38 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2023-01-05 10:01:38 -0500 |
commit | efce0caf2d75dff5a83812b8da2dd3725197ac7c (patch) | |
tree | 5ba215fc4d8e2ce886260ed6d7196e9f0e35f679 | |
parent | b0edfa0ef02c0f4820cec0601a4fd85aba516428 (diff) | |
download | gcc-efce0caf2d75dff5a83812b8da2dd3725197ac7c.zip gcc-efce0caf2d75dff5a83812b8da2dd3725197ac7c.tar.gz gcc-efce0caf2d75dff5a83812b8da2dd3725197ac7c.tar.bz2 |
gccrs: avoid printing to stderr in selftest::rust_flatten_list
gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-item.cc (selftest::rust_flatten_list):
Remove output to stderr.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
-rw-r--r-- | gcc/rust/resolve/rust-ast-resolve-item.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-item.cc b/gcc/rust/resolve/rust-ast-resolve-item.cc index 0c38f28..1276e84 100644 --- a/gcc/rust/resolve/rust-ast-resolve-item.cc +++ b/gcc/rust/resolve/rust-ast-resolve-item.cc @@ -1202,9 +1202,6 @@ rust_flatten_list (void) auto paths = std::vector<Rust::AST::SimplePath> (); Rust::Resolver::flatten_list (list, paths); - for (auto &path : paths) - fprintf (stderr, "%s\n", path.as_string ().c_str ()); - ASSERT_TRUE (!paths.empty ()); ASSERT_EQ (paths.size (), 2); ASSERT_EQ (paths[0].get_segments ()[0].as_string (), "foo"); |