Skip to content

Instantly share code, notes, and snippets.

@eholk
Created July 12, 2012 02:52
Show Gist options
  • Save eholk/3095375 to your computer and use it in GitHub Desktop.
Save eholk/3095375 to your computer and use it in GitHub Desktop.
impl to_str<T> for T {
fn to_str() -> str { "a" }
}
fn foo<T>(_f:fn()) -> T { fail }
fn main() {
log(error,
// 16 in a row
[do foo::<~@&*()>{;}]/_.
to_str()
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment