Add a test for #3003

and run cargo fmt.
This commit is contained in:
Seiichi Uchida 2018-09-30 23:27:03 +09:00
parent 4c1b0c2241
commit 4a15875f07
3 changed files with 27 additions and 3 deletions

View file

@ -450,3 +450,15 @@ fn issue_2802() {
a: some_much_much_longer_value,
}) * some_value
}
fn issue_3003() {
let mut path: PathBuf = [
env!("CARGO_MANIFEST_DIR"),
"tests",
"support",
"dejavu-fonts-ttf-2.37",
"ttf",
]
.iter()
.collect();
}

View file

@ -529,3 +529,15 @@ fn issue_2802() {
})
* some_value
}
fn issue_3003() {
let mut path: PathBuf = [
env!("CARGO_MANIFEST_DIR"),
"tests",
"support",
"dejavu-fonts-ttf-2.37",
"ttf",
]
.iter()
.collect();
}