]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/concat-rpass.rs
4 assert_eq
!(format
!(concat
!("foo", "bar", "{}"), "baz"), "foobarbaz".to_string());
5 assert_eq
!(format
!(concat
!()), "".to_string());
6 // check trailing comma is allowed in concat
7 assert_eq
!(concat
!("qux", "quux",).to_string(), "quxquux".to_string());
10 concat
!(1, 2, 3, 4f32, 4.0, 'a'
, true),
14 assert
!(match "12344.0atrue" {
15 concat
!(1, 2, 3, 4f32, 4.0, 'a'
, true) => true,