2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2013-12-04 20:13:31 -06:00
|
|
|
// aux-build:xcrate-trait-lifetime-param.rs
|
|
|
|
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-03-27 12:22:44 -05:00
|
|
|
extern crate xcrate_trait_lifetime_param as other;
|
2013-12-04 20:13:31 -06:00
|
|
|
|
|
|
|
struct Reader<'a> {
|
|
|
|
b : &'a [u8]
|
|
|
|
}
|
|
|
|
|
|
|
|
impl <'a> other::FromBuf<'a> for Reader<'a> {
|
|
|
|
fn from_buf(b : &'a [u8]) -> Reader<'a> {
|
|
|
|
Reader { b : b }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn main () {}
|