-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rustc: Update item conversion of
FnItem
s
- Loading branch information
Showing
10 changed files
with
770 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
pub fn print_me_simple() {} | ||
|
||
pub const unsafe fn print_me_special() {} | ||
|
||
pub fn print_me_params(_ident: u32, (_a, _b): (u32, i32)) -> String { | ||
String::new() | ||
} | ||
|
||
pub trait SomethingCool { | ||
fn print_me_trait_with_body(_ident: u8, (_a, _b): (u8, i8)) -> String { | ||
String::new() | ||
} | ||
|
||
fn print_me_trait_no_body(_ident: u64, _pair: (u64, i64)) -> String; | ||
} | ||
|
||
fn main() {} |
Oops, something went wrong.