about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-03 11:07:01 +0100
committerGitHub <noreply@github.com>2019-12-03 11:07:01 +0100
commit8dacfc2adac25b8e749a19623ce4db543bb33306 (patch)
tree4347631bddde91e7243e60aa55c196531388d59e /src/test/debuginfo/enum-thinlto.rs
parent3045d22263b88e17e3ff2e824b25d727d31dea6d (diff)
parent1d0c015f9b5e4da3695ed23f269dc51a8d09b8a9 (diff)
downloadrust-8dacfc2adac25b8e749a19623ce4db543bb33306.tar.gz
rust-8dacfc2adac25b8e749a19623ce4db543bb33306.zip
Rollup merge of #66651 - Areredify:on-unimplemented-scope, r=davidtwco
Add `enclosing scope` parameter to `rustc_on_unimplemented`

Adds a new parameter to `#[rustc_on_unimplemented]`, `enclosing scope`, which highlights the function or closure scope with a message.

The wip part refers to adding this annotation to `Try` trait to improve ergonomics (which I don't know how to do since I change both std and librustc)

Closes #61709.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions