-
I tried this code:
```shell
rustc file.rs
```
```rust
#![feature(type_alias_impl_trait)]
trait Id {
type Assoc;
}
impl *const u8 {
type Assoc = T;
}
type Ty
where
Ty: Id,
= impl Sized;…
wxie7 updated
16 hours ago
-
## Environment
* **IntelliJ Rust plugin version: 0.4.198.5409-231**
* **Rust toolchain version: rustc 1.69.0 (84c898d65 2023-04-16)**
* **IDE name and version: IntelliJ IDEA 2023.1.4 Build #IU-23…
-
So i have an attribute alias on a macro crate and i want to use it on another crate, but when i try to use it, it doesn't find it
seripack_macros::lib.rs
```rust
attribute_alias! {
#[apply(p…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR17862](https://bugs.llvm.org/show_bug.cgi?id=17862) |
| Status | NEW |
| Importance | P enhancemen…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR8588](https://bugs.llvm.org/show_bug.cgi?id=8588) |
| Status | NEW |
| Importance | P normal |
| R…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR4241](https://bugs.llvm.org/show_bug.cgi?id=4241) |
| Status | NEW |
| Importance | P normal |
| R…
-
This note is meant to bring a shortcoming of `-no-alias-deps` to the attention of the rest of the developers, even if the beheaviour makes sense (as far as I understand module aliases). This flag, and…
nojb updated
11 months ago
-
Script fails to preserve aliasing between attributes. As shown in example below:
def test_module_with_aliased_attr(self):
class M(torch.nn.Module):
def __init__(self):
…
-
Consider this MRE
```python
from attrs import define, fields
@define
class A:
foo: int
bar: float
f = fields(A)
```
```py
print(f.foo)
```
```
Attribute(name='foo', default=…
-
It's not a good idea to declare `void yield(void) __attribute__ ((weak, alias("__empty")));` in file `...\packages\arduino\hardware\avr\1.8.2\cores\arduino\hooks.c` with the alias function named "__em…