Skip to content
Myr

Ui test changes for trybuild 1.0.49

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent f6bfcd0 · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • tests:+2 added−2 removed
  • other:+1 added−1 removed

3 files+3 added−3 removed

modified:tests/ui/no-impl.stderr+1 added-1 removed
1error[E0599]: the method `anyhow_kind` exists for reference `&Error`, but its trait bounds were not satisfied2 --> $DIR/tests/ui/no-impl.rs:7:132 --> tests/ui/no-impl.rs:7:133 |44 | struct Error;5 | -------------6 | |
35 unmodified lines
modified:tests/ui/temporary-value.stderr+1 added-1 removed
1error[E0716]: temporary value dropped while borrowed2 --> $DIR/tests/ui/temporary-value.rs:4:222 --> tests/ui/temporary-value.rs:4:223 |44 | let _ = anyhow!(&String::new());5 | ---------^^^^^^^^^^^^^-- temporary value is freed at the end of this statement6 | | |
2 unmodified lines
modified:Cargo.toml+1 added-1 removed