Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add suggestion for missing compile flag group
- Loading branch information
1 parent
3ddb78a
commit 2a60f09
Showing
5 changed files
with
19 additions
and
4 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
1 change: 1 addition & 0 deletions
1
src/test/ui/invalid-compile-flags/codegen-option-without-group.rs
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 @@ | ||
// compile-flags: --llvm-args |
2 changes: 2 additions & 0 deletions
2
src/test/ui/invalid-compile-flags/codegen-option-without-group.stderr
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,2 @@ | ||
error: Unrecognized option: 'llvm-args'. Did you mean `-C llvm-args`? | ||
|
1 change: 1 addition & 0 deletions
1
src/test/ui/invalid-compile-flags/debug-option-without-group.rs
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 @@ | ||
// compile-flags: --unpretty=hir |
2 changes: 2 additions & 0 deletions
2
src/test/ui/invalid-compile-flags/debug-option-without-group.stderr
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,2 @@ | ||
error: Unrecognized option: 'unpretty'. Did you mean `-Z unpretty`? | ||
|