-
In rustc, the main types related to consts are
- `ty::Const`: a const that appears in the type system e.g. an array length or a const generic. These must always be valtree-compatible.
- `mir::Const`…
-
I currently get this on git master and nightly of 2018-02-28:
```
error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned` in the current scope
--> /home/s…
-
In the case below, how do I get the range of indices spanned by `x.a`?
```julia
x = (; a = ones(2), b = ones(2)) |> ComponentArray
idx_a = ?? # want 1:2
```
-
I'd like to use this library for some refactoring and analysis tools. It would be very helpful to have source line/column information available on the AST nodes, something along the lines of `Span` fr…
mullr updated
3 months ago
-
**tl;dr**: Is it possible to define a tokenizer that does not require a callback using logos with lalrpop?
---
In this tutorial http://lalrpop.github.io/lalrpop/lexer_tutorial/005_external_lib.h…
-
Hi,
I spent a long time tracing down a bug in my implementation of the `sorted` macro against the [06-pattern-path](https://github.com/dtolnay/proc-macro-workshop/blob/master/sorted/tests/06-patter…
-
Visual artifacts appear when file explorer is spanned across more than one monitor. This looks like OldNewExplorer and EBM fighting to repaint the screen.
~~Can be fixed by setting: clearWinUIBg=fa…
-
I want to build the version 6.08 for Fedora, but the test 12-data.t fails on s390x
```
t/12-data.t .............. The sum of the statement timings is -0.0% of the total time profiling. (Values sli…
-
### What it does
Lints against `quote::quote!` and recommends `quote::quote_spanned!`
### Advantage
Proc macros have essentially zero diagnostics unless they provide such themselves, and tracking S…
-
**Describe the bug**
I am extracting data from PDFs using camelot and am faced with the following issue on 3. page of [this](https://www.onsemi.com/pdf/datasheet/fdb9406_f085-d.pdf) datasheet. …