]> git.proxmox.com Git - rustc.git/blame - src/test/run-make-fulldeps/pretty-print-path-suffix/input.rs
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / run-make-fulldeps / pretty-print-path-suffix / input.rs
CommitLineData
1a4d82fc 1#![crate_type="lib"]
223e47cc 2
1a4d82fc
JJ
3pub fn
4foo() -> i32
5{ 45 }
970d7e83 6
1a4d82fc 7pub fn bar() -> &'static str { "i am not a foo." }
970d7e83 8
1a4d82fc
JJ
9pub mod nest {
10 pub fn foo() -> &'static str { "i am a foo." }
970d7e83 11
1a4d82fc
JJ
12 struct S;
13 impl S {
14 fn foo_method(&self) -> &'static str {
c34b1796 15 return "i am very similar to foo.";
970d7e83
LB
16 }
17 }
223e47cc 18}