Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
58e901b6fd1163172149fd422565523b17eed5f0
rust/tests/rustdoc/auxiliary/issue-19190-3.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
351 B
Rust
Raw Normal View History

move auxiliary builds to a test-relative `aux` Instead of finding aux-build files in `auxiliary`, we now search for an `aux` directory relative to the test. So if your test is `compile-fail/foo.rs`, we would look in `compile-fail/aux`. Similarly, we ignore the `aux` directory when searching for tets.
2016-04-26 10:51:14 -07:00
// compile-flags: -Cmetadata=aux
use std::ops::Deref;
pub struct Foo;
impl Deref for Foo {
Make rustdoc not include self-by-value methods from Deref target
2017-10-31 02:01:23 +01:00
type Target = String;
fn deref(&self) -> &String { loop {} }
move auxiliary builds to a test-relative `aux` Instead of finding aux-build files in `auxiliary`, we now search for an `aux` directory relative to the test. So if your test is `compile-fail/foo.rs`, we would look in `compile-fail/aux`. Similarly, we ignore the `aux` directory when searching for tets.
2016-04-26 10:51:14 -07:00
}
pub struct Bar;
pub struct Baz;
impl Baz {
pub fn baz(&self) {}
pub fn static_baz() {}
}
impl Deref for Bar {
type Target = Baz;
fn deref(&self) -> &Baz { loop {} }
Add test case for stable import of invalid span information.
2015-03-18 22:05:24 +01:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1532ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API