Jan Behrens
Jan Behrens
The subsection on temporary lifetime extension currently contains the following warning: > Note: The exact rules for temporary lifetime extension are subject to change. This is describing the current behavior...
### Input C/C++ Header ```C #define MYCONST 2 ``` ### Bindgen Invocation ``` $ bindgen input.h ``` ### Actual Results ```rust /* automatically generated by rust-bindgen 0.59.1 */ pub const...
**Is your feature request related to a problem?** I'm planning to create an SDR framework where data is streamed between certain "processing blocks". These blocks can be dynamically connected with...
~~As transitive coercions are at least partially supported,~~ it currently doesn't seem to be clear which coercion(s) will be performed when there are several possibilities. Consider the following code: ```...
In the given program ``` effect ctl myeffect() : () fun main() : () with ctl myeffect() () with ctl myeffect() myeffect() with finally println("cleanup") myeffect() ``` the line `println("cleanup")`...
In the book, section "A Tour of Koka", subsection "Named and Scoped Handlers", [this link](https://github.com/koka-lang/koka/blob/b3122869ac74bfb6f432f7e76eeb723b1f69a491/doc/spec/tour.kk.md?plain=1#L1910-L1914) to [this directory in the repository](https://github.com/koka-lang/koka/tree/master/samples/named-handlers) seems to be rendered wrong. It points to `https://koka-lang.github.io/koka/doc/samples.html#named_handlers`,...
[These lines](https://github.com/tafia/quick-protobuf/blob/5b4685a7a8b1f471e45b435839202233732b45cd/pb-rs/README.md?plain=1#L64-L66) seem to be wrong: ```rust mod hello { include_bytes!(concat!(env!("OUT_DIR")), "/hello.rs"); } ``` It should be `include!` instead of `include_bytes!` and parentheses are wrong. Moreover, top-level attributes make inclusion...
I tried this code: ```rust fn main() { let xs: [i32; 5] = [1, 2, 3, 4, 5]; let _ = &xs; // this line suppresses the `unconditional_panic` lint let...