We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code is totally broken, but since it ICEs (on beta and nightly, but not on stable), it's a bug anyhow:
macro_rules! stupid { ($f0: ty, $f1: ty) => { for <'q> FnOnce(&'q $f0) -> $'q f1 }} fn test<T: stupid(String, &str)>() {}
Fails with:
<anon>:1:76: 1:78 error: expected identifier, found `'q` <anon>:1 macro_rules! stupid { ($f0: ty, $f1: ty) => { for <'q> FnOnce(&'q $f0) -> $'q f1 }} ^~ error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports thread 'rustc' panicked at 'internal error: entered unreachable code', ../src/libsyntax/parse/parser.rs:2857
The text was updated successfully, but these errors were encountered:
Looks like #33728.
Sorry, something went wrong.
This has been fixed on the latest nightly, probably by #33870.
Yay!
No branches or pull requests
This code is totally broken, but since it ICEs (on beta and nightly, but not on stable), it's a bug anyhow:
Fails with:
The text was updated successfully, but these errors were encountered: