Rename object_safety to dyn_compatibility

Up to a trait implemented by another package, linking to
$CARGO_HOME/registry/cache/index.crates.io-6f17d22bba15001f/
This commit is contained in:
Noah Bright 2024-09-28 07:01:32 -04:00
parent 01aaa53ef2
commit 4255cae1bb
12 changed files with 112 additions and 106 deletions

View file

@ -7175,7 +7175,7 @@ impl T$0 for () {}
```
```rust
// Object Safety: Yes
// Dyn Compatible: Yes
trait T {}
```
"#]],
@ -7195,7 +7195,7 @@ impl T$0 for () {}
```
```rust
// Object Safety: Yes
// Dyn Compatible: Yes
trait T {}
```
"#]],
@ -7219,7 +7219,7 @@ impl T$0 for () {}
```
```rust
// Object Safety: No
// Dyn Compatible: No
// - Reason: has a method `func` that is non dispatchable because of:
// - missing a receiver
trait T { /**/ }
@ -7245,7 +7245,7 @@ impl T$0 for () {}
```
```rust
// Object Safety: No
// Dyn Compatible: No
// - Reason: has a method `func` that is non dispatchable because of:
// - missing a receiver
trait T {
@ -7275,7 +7275,7 @@ impl T$0 for () {}
```
```rust
// Object Safety: No
// Dyn Compatible: No
// - Reason: has a method `func` that is non dispatchable because of:
// - missing a receiver
trait T {
@ -7305,7 +7305,7 @@ impl T$0 for () {}
```
```rust
// Object Safety: No
// Dyn Compatible: No
// - Reason: has a method `func` that is non dispatchable because of:
// - missing a receiver
trait T {