Skip to content

Instantly share code, notes, and snippets.

@tamuhey
Created September 29, 2020 17:13
Show Gist options
  • Save tamuhey/90a4152a81575236161ba0f8ffc973c0 to your computer and use it in GitHub Desktop.
Save tamuhey/90a4152a81575236161ba0f8ffc973c0 to your computer and use it in GitHub Desktop.
Rust1.46をバグらせる簡単な例
trait Foo {}
fn bug() -> impl Foo<[(); |_: ()| {}]> {}

playground

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment