about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-19 13:10:23 +0100
committerGitHub <noreply@github.com>2019-11-19 13:10:23 +0100
commit1f0f0adbf4bffe93e9a399b5cf1a55e771af4359 (patch)
tree6b6c5fc955a7e954cc777c86aad86f6a421b1965 /src/libstd/sys/unix/stack_overflow.rs
parent42e3b860459d75acda352a5b65e2db7b1f8334e8 (diff)
parentf74fe812fe802c71bd9f909cbce8a703a20ba479 (diff)
downloadrust-1f0f0adbf4bffe93e9a399b5cf1a55e771af4359.tar.gz
rust-1f0f0adbf4bffe93e9a399b5cf1a55e771af4359.zip
Rollup merge of #66529 - petrochenkov:reshelp2, r=davidtwco
resolve: Give derive helpers highest priority during resolution

So they just shadow everything else and don't create ambiguity errors.
This matches the old pre-#64694 behavior most closely.

---
The change doesn't apply to this "compatibility" case
```rust
#[trait_helper] // The helper attribute is used before it introduced.
                        // Sadly, compiles on stable, supported via hacks.
                        // I plan to make a compatibility warning for this.
#[derive(Trait)]
struct S;
```
, such attributes still create ambiguities, but #64694 didn't change anything for this case.

Fixes https://github.com/rust-lang/rust/issues/66508
Fixes https://github.com/rust-lang/rust/issues/66525
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions