]> git.proxmox.com Git - rustc.git/blame - src/test/ui/regions/issue-26448-2.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / regions / issue-26448-2.rs
CommitLineData
e1599b0c 1// check-pass
532ac7d7
XL
2
3pub struct Bar<T> {
4 items: Vec<&'static str>,
5 inner: T,
6}
7
8pub trait IntoBar<T> {
9 fn into_bar(self) -> Bar<T>;
10}
11
12impl<'a, T> IntoBar<T> for &'a str where &'a str: Into<T> {
13 fn into_bar(self) -> Bar<T> {
14 Bar {
15 items: Vec::new(),
16 inner: self.into(),
17 }
18 }
19}
20
21fn main() {}