• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // SPDX-License-Identifier: Apache-2.0 OR MIT
2 
3 #![allow(internal_features)]
4 #![feature(unsized_fn_params)]
5 
6 use pin_project::pin_project;
7 
8 #[pin_project(project_replace)] //~ ERROR E0277
9 struct Struct<T: ?Sized> {
10     f: T,
11 }
12 
13 #[pin_project(project_replace)] //~ ERROR E0277
14 struct TupleStruct<T: ?Sized>(T);
15 
main()16 fn main() {}
17