forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#131594 - fmease:rustdoc-mv-obj-safe-dyn-compat, r=notriddle rustdoc: Rename "object safe" to "dyn compatible" Supersedes rust-lang#126554: 1. In line with [T-lang's latest resolution](rust-lang/lang-team#286 (comment)). 2. More comprehensive: Not only updates user-facing text but also source code. Part of rust-lang#130852. Doesn't update rustdoc-JSON (will be filed separately). r? `@notriddle` (rust-lang/lang-team#286) `@GuillaumeGomez` (for visibility)
- Loading branch information
Showing
8 changed files
with
44 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#![crate_name = "foo"] | ||
|
||
//@ has 'foo/trait.DynIncompatible.html' | ||
//@ has - '//*[@class="dyn-compatibility-info"]' 'This trait is not dyn compatible.' | ||
//@ has - '//*[@id="dyn-compatibility"]' 'Dyn Compatibility' | ||
pub trait DynIncompatible { | ||
fn foo() -> Self; | ||
} | ||
|
||
//@ has 'foo/trait.DynIncompatible2.html' | ||
//@ has - '//*[@class="dyn-compatibility-info"]' 'This trait is not dyn compatible.' | ||
//@ has - '//*[@id="dyn-compatibility"]' 'Dyn Compatibility' | ||
pub trait DynIncompatible2<T> { | ||
fn foo(i: T); | ||
} | ||
|
||
//@ has 'foo/trait.DynCompatible.html' | ||
//@ !has - '//*[@class="dyn-compatibility-info"]' '' | ||
//@ !has - '//*[@id="dyn-compatibility"]' '' | ||
pub trait DynCompatible { | ||
fn foo(&self); | ||
} | ||
|
||
//@ has 'foo/struct.Foo.html' | ||
//@ count - '//*[@class="dyn-compatibility-info"]' 0 | ||
//@ count - '//*[@id="dyn-compatibility"]' 0 | ||
pub struct Foo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.