diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs b/src/test/ui/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs new file mode 100644 index 000000000..7c1175f7a --- /dev/null +++ b/src/test/ui/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs @@ -0,0 +1,3 @@ +pub trait FromBuf<'a> { + fn from_buf(_: &'a [u8]) -> Self; +} |