Skip to content

Rollup of 8 pull requests #57823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 22 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
763392c
Fix memory leak in P::filter_map
ishitatsuyuki Jan 16, 2019
13dc584
Merge visitors in AST validation
Zoxc Jan 18, 2019
eb5a253
When using value after move, point at span of local
estebank Jan 3, 2019
74a2cd0
Add test for #34721
estebank Jan 3, 2019
97bc38e
break eagerly from loop
estebank Jan 4, 2019
802d8c5
Point at type argument suggesting adding `Copy` constraint
estebank Jan 6, 2019
09006d8
review comments
estebank Jan 18, 2019
a5d4aed
Address some comments
Zoxc Jan 19, 2019
2200fd3
Add default rust logo for documentation
GuillaumeGomez Jan 12, 2019
98d4f33
const_eval: Predetermine the layout of all locals when pushing a stac…
dotdash Jan 16, 2019
b5d167f
Add default favicon for documentation
GuillaumeGomez Jan 12, 2019
3ecbe1e
Add regression test for #54582
estebank Jan 21, 2019
45a95b5
Use structured suggestion in stead of notes
estebank Jan 21, 2019
58b0200
Add powerpc64-unknown-freebsd
Jan 21, 2019
68ea7e4
Rollup merge of #57294 - estebank:point-copy-less, r=nikomatsakis
Centril Jan 21, 2019
db720ec
Rollup merge of #57552 - GuillaumeGomez:default-images, r=QuietMisdre…
Centril Jan 21, 2019
d29a1bc
Rollup merge of #57667 - ishitatsuyuki:p-leak, r=nnethercote
Centril Jan 21, 2019
d87385f
Rollup merge of #57677 - dotdash:locals, r=michaelwoerister
Centril Jan 21, 2019
45e6a2b
Rollup merge of #57730 - Zoxc:combined-ast-validator, r=cramertj
Centril Jan 21, 2019
a311372
Rollup merge of #57791 - estebank:issue-54582, r=zackmdavis
Centril Jan 21, 2019
c5dfb30
Rollup merge of #57795 - estebank:did-you-mean, r=zackmdavis
Centril Jan 21, 2019
39b92c1
Rollup merge of #57809 - MikaelUrankar:powerpc64-unknown-freebsd, r=n…
Centril Jan 21, 2019
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
16 changes: 16 additions & 0 deletions src/test/ui/issues/issue-54582.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// run-pass

pub trait Stage: Sync {}

pub enum Enum {
A,
B,
}

impl Stage for Enum {}

pub static ARRAY: [(&Stage, &str); 1] = [
(&Enum::A, ""),
];

fn main() {}