]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18423.rs
Rollup merge of #56796 - KrishnaSannasi:try_from_impl_change, r=shepmaster
[rust.git] / src / test / ui / issues / issue-18423.rs
1 // Test that `Box` cannot be used with a lifetime argument.
2
3 struct Foo<'a> {
4     x: Box<'a, isize> //~ ERROR wrong number of lifetime arguments
5 }
6
7 pub fn main() {
8 }