Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/ui/symbol-names/verbose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// affected produced symbols making it impossible to link between crates
// with a different value of the flag (for symbols involving generic
// arguments equal to defaults of their respective parameters).
// Add -Awarnings to ignore unexpected warnings on StdErr, especially from external tools.
//
//@ build-pass
//@ compile-flags: -Zverbose-internals
//@ compile-flags: -Zverbose-internals -Awarnings

pub fn error(msg: String) -> Box<dyn std::error::Error> {
msg.into()
Expand Down
3 changes: 2 additions & 1 deletion tests/ui/type/issue-94187-verbose-type-name.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// Ensure the output of `std::any::type_name` does not change based on `-Zverbose-internals`
// Add -Awarnings to ignore unexpected warnings on StdErr, especially from external tools.
//@ run-pass
//@ edition: 2018
//@ revisions: normal verbose
//@ [verbose]compile-flags:-Zverbose-internals --verbose
//@ [verbose]compile-flags:-Zverbose-internals --verbose -Awarnings

use std::any::type_name;

Expand Down
Loading