about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-03-07 16:07:18 +0100
committerSimon Sapin <simon.sapin@exyr.org>2016-03-07 16:07:18 +0100
commite387c8870017a9fb014fb18e249395a844f5d0e6 (patch)
tree84db567afa45c9105e4b1d48a785e48a75bc3b7e /src/libsyntax/errors
parente079afa00b58f06de8e2a7596073045cd0983b7b (diff)
downloadrust-e387c8870017a9fb014fb18e249395a844f5d0e6.tar.gz
rust-e387c8870017a9fb014fb18e249395a844f5d0e6.zip
"can be built on Ref::map"… how?
Now that `std::cell::Ref::filter_map` and `RefMut::filter_map` are deprecated, using them gives a warning like:
```
script/dom/element.rs:754:9: 754:24 warning: use of deprecated item: can be built on Ref::map, #[warn(deprecated)] on by default
```

But it’s not at all obvious *how* the functionality can be built on `Ref::map`. This PR adds to the warning message a crates.io URL for a crate that does.
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions