]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26448-1.rs
Pass cflags rather than cxxflags to LLVM as CMAKE_C_FLAGS
[rust.git] / src / test / ui / issues / issue-26448-1.rs
1 // run-pass
2
3 pub trait Foo<T> {
4     fn foo(self) -> T;
5 }
6
7 impl<'a, T> Foo<T> for &'a str where &'a str: Into<T> {
8     fn foo(self) -> T {
9         panic!();
10     }
11 }
12
13 fn main() {}