rustfmt tests/rustdoc-js/
.
This commit is contained in:
parent
98d65d62c5
commit
c6fb703c05
28 changed files with 240 additions and 133 deletions
|
@ -1,15 +1,23 @@
|
|||
#![crate_name="foo"]
|
||||
#![crate_name = "foo"]
|
||||
|
||||
pub trait Some {}
|
||||
impl Some for () {}
|
||||
pub trait Other {}
|
||||
impl Other for () {}
|
||||
|
||||
pub fn alef<T: Some>() -> T { loop {} }
|
||||
pub fn alpha() -> impl Some { }
|
||||
pub fn alef<T: Some>() -> T {
|
||||
loop {}
|
||||
}
|
||||
pub fn alpha() -> impl Some {}
|
||||
|
||||
pub fn bet<T, U>(t: T) -> U { loop {} }
|
||||
pub fn bet<T, U>(t: T) -> U {
|
||||
loop {}
|
||||
}
|
||||
pub fn beta<T>(t: T) -> T {}
|
||||
|
||||
pub fn other<T: Other, U: Other>(t: T, u: U) { loop {} }
|
||||
pub fn alternate<T: Other>(t: T, u: T) { loop {} }
|
||||
pub fn other<T: Other, U: Other>(t: T, u: U) {
|
||||
loop {}
|
||||
}
|
||||
pub fn alternate<T: Other>(t: T, u: T) {
|
||||
loop {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue