]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unconstrained-ref.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / test / ui / unconstrained-ref.rs
1 struct S<'a, T:'a> {
2     o: &'a Option<T>
3 }
4
5 fn main() {
6     S { o: &None }; //~ ERROR type annotations needed [E0282]
7 }