about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-02-28 19:15:29 +0800
committerGitHub <noreply@github.com>2018-02-28 19:15:29 +0800
commitc599463cd165d7ec01ba37c6979d1e7109cf9d3a (patch)
tree664e18a2c2c35f68026b85407bef1482d2a080e7 /src/test/incremental/thinlto
parent85d7d0bf561c278123e288bffbe4b3baf843742b (diff)
parentf8ebb3f09fa98cf5583f6bd8d5677a1f4dd0941d (diff)
downloadrust-c599463cd165d7ec01ba37c6979d1e7109cf9d3a.tar.gz
rust-c599463cd165d7ec01ba37c6979d1e7109cf9d3a.zip
Rollup merge of #48365 - Centril:docs/document-refcell-panics, r=frewsxcv
RefCell: document panics in Clone, PartialEq, PartialOrd, Ord.

This fixes #47400 by adding:

```rust
    /// # Panics
    ///
    /// Panics if the value is currently mutably borrowed.
```
to said impls. They may panic since they call `.borrow()`.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions