diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2017-12-06 09:25:29 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2017-12-06 09:25:29 +0100 |
| commit | acdf83f2288e1b80259dafeca4a0cee9a42973c3 (patch) | |
| tree | ef7ffe46fee2f0b9f331a206af4a71d23fabe0a1 /src/test/rustdoc/issue-19190-2.rs | |
| parent | d4c442d65c150b99d18202a5cce4a2cbdbd4dc83 (diff) | |
| download | rust-acdf83f2288e1b80259dafeca4a0cee9a42973c3.tar.gz rust-acdf83f2288e1b80259dafeca4a0cee9a42973c3.zip | |
Update miri to rustc changes
Diffstat (limited to 'src/test/rustdoc/issue-19190-2.rs')
| -rw-r--r-- | src/test/rustdoc/issue-19190-2.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/rustdoc/issue-19190-2.rs b/src/test/rustdoc/issue-19190-2.rs index 8835e18f1c5..5688c5cba0b 100644 --- a/src/test/rustdoc/issue-19190-2.rs +++ b/src/test/rustdoc/issue-19190-2.rs @@ -13,10 +13,10 @@ use std::ops::Deref; pub struct Bar; impl Deref for Bar { - type Target = i32; - fn deref(&self) -> &i32 { loop {} } + type Target = String; + fn deref(&self) -> &String { loop {} } } // @has issue_19190_2/struct.Bar.html -// @has - '//*[@id="method.count_ones"]' 'fn count_ones(self) -> u32' -// @!has - '//*[@id="method.min_value"]' 'fn min_value() -> i32' +// @!has - '//*[@id="method.new"]' 'fn new() -> String' +// @has - '//*[@id="method.as_str"]' 'fn as_str(&self) -> &str' |
