-
Notifications
You must be signed in to change notification settings - Fork 490
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validated negative impls of generated impls (#6490)
- Loading branch information
1 parent
1f0db2f
commit 85d2e70
Showing
7 changed files
with
147 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -256,6 +256,27 @@ End: | |
Return() | ||
|
||
|
||
Generated core::traits::Destruct::destruct lowering for source location: | ||
let c = || a; | ||
^^ | ||
|
||
Parameters: v0: {[email protected]:6:14: 6:16} | ||
blk0 (root): | ||
Statements: | ||
(v1: core::integer::u32) <- struct_destructure(v0) | ||
(v2: ()) <- struct_construct() | ||
End: | ||
Return(v2) | ||
|
||
|
||
Final lowering: | ||
Parameters: v0: {[email protected]:6:14: 6:16} | ||
blk0 (root): | ||
Statements: | ||
End: | ||
Return() | ||
|
||
|
||
Generated core::ops::function::FnOnce::call lowering for source location: | ||
let c = || a; | ||
^^ | ||
|
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