Skip to content

Conversation

@jackh726
Copy link
Member

Missed in #449

Also Sized test for Never

@nikomatsakis nikomatsakis merged commit 52a3530 into rust-lang:master May 28, 2020
@jackh726 jackh726 deleted the fn_def branch May 28, 2020 16:38
fn fn_def_is_copy() {
test! {
program {
#[lang(sized)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be copy, not sized.

fn fn_def_is_clone() {
test! {
program {
#[lang(sized)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be clone, not sized.

@jackh726
Copy link
Member Author

Well shoot...I'll just include these in the chalk-base PR.

@jackh726 jackh726 mentioned this pull request May 28, 2020
@@ -0,0 +1,66 @@
use super::*;
Copy link
Contributor

@AzureMarker AzureMarker May 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another issue, these tests aren't run because the module is not listed in tests/test/mod.rs

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They fail in the parser because it expects ; instead of { }.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants