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
If you consider the following example:
struct StaticDoubleLinked { prev: &'static StaticDoubleLinked, next: &'static StaticDoubleLinked, data: i32, head: bool, } static L1: StaticDoubleLinked = StaticDoubleLinked{prev: &L3, next: &L2, data: 1, head: true}; static L2: StaticDoubleLinked = StaticDoubleLinked{prev: &L1, next: &L3, data: 2, head: false}; static L3: StaticDoubleLinked = StaticDoubleLinked{prev: &L2, next: &L1, data: 3, head: false}; fn main() {}
Then it generates three gate errors. The problem is that all three errors point to the line where L1 is defined. This is bad. cc #39834
The text was updated successfully, but these errors were encountered:
cc also #29719
Sorry, something went wrong.
Closed by #40027
No branches or pull requests
If you consider the following example:
Then it generates three gate errors. The problem is that all three errors point to the line where L1 is defined. This is bad. cc #39834
The text was updated successfully, but these errors were encountered: