From 8b13fd447a890507c8690929ad6840ea3de444aa Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 7 Feb 2022 21:24:13 -0800 Subject: [PATCH] Add pretty printer test for use trees --- src/test/pretty/use-tree.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/test/pretty/use-tree.rs diff --git a/src/test/pretty/use-tree.rs b/src/test/pretty/use-tree.rs new file mode 100644 index 000000000000..299a08c63525 --- /dev/null +++ b/src/test/pretty/use-tree.rs @@ -0,0 +1,17 @@ +// pp-exact +// edition:2021 + +#![allow(unused_imports)] + +use ::std::fmt::{self, Debug, Display, Write as _}; + +use core::option::Option::*; + +use core::{cmp::{Eq, Ord, PartialEq, PartialOrd}, + convert::{AsMut, AsRef, From, Into}, + iter::{DoubleEndedIterator, ExactSizeIterator, Extend, FromIterator, + IntoIterator, Iterator}, + marker::{Copy as Copy, Send as Send, Sized as Sized, Sync as Sync, Unpin + as U}, ops::{*, Drop, Fn, FnMut, FnOnce}}; + +fn main() {}