-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 8 pull requests #33551
Rollup of 8 pull requests #33551
Commits on May 2, 2016
-
middle: reset loop labels while visiting closure
This should fix rust-lang#31754 and follow-up rust-lang#25343. Before the latter, the closure was visited twice in the context of the enclosing fn, which made even a single closure with a loop label emit a warning. With this change, the closure is still visited within the context of the main fn (which is intended, since it is not a separate item) but resets the found loop labels while being visited. Fixes: rust-lang#31754
Configuration menu - View commit details
-
Copy full SHA for 6fed013 - Browse repository at this point
Copy the full SHA 6fed013View commit details
Commits on May 3, 2016
-
fix too long column fix typo of help on pattern guard one nit fix compile fail
Configuration menu - View commit details
-
Copy full SHA for 201d9ed - Browse repository at this point
Copy the full SHA 201d9edView commit details
Commits on May 9, 2016
-
Add detailed error explanation for E0504
Removed unnecessary use of threads from E0504 Cleaned up line ending on E0504 Added more examples for E0504 Changed to erroneous code wording Switched Rc example to thread/Arc example Added comments describing why errors no longer occur
Configuration menu - View commit details
-
Copy full SHA for 38a5338 - Browse repository at this point
Copy the full SHA 38a5338View commit details -
doc: Fix tiny typo in vec-alloc.md
Change `fast an loose` to `fast and loose`.
Configuration menu - View commit details
-
Copy full SHA for 9d2c45d - Browse repository at this point
Copy the full SHA 9d2c45dView commit details
Commits on May 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d8882e2 - Browse repository at this point
Copy the full SHA d8882e2View commit details -
typeck: if a private field exists, also check for a public method
For example, `Vec::len` is both a field and a method, and usually encountering `vec.len` just means that the parens were forgotten. Fixes: rust-lang#26472
Configuration menu - View commit details
-
Copy full SHA for 84034d4 - Browse repository at this point
Copy the full SHA 84034d4View commit details -
fix DFS for region error reporting
This was causing terrible error reports, because the algorithm was incorrectly identifying the constraints.
Configuration menu - View commit details
-
Copy full SHA for de0906f - Browse repository at this point
Copy the full SHA de0906fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a2f2b - Browse repository at this point
Copy the full SHA a5a2f2bView commit details -
Rollup merge of rust-lang#33260 - mrmiywj:help-on-pattern-guard, r=gu…
…illaumegomez add help on pattern guard
Configuration menu - View commit details
-
Copy full SHA for f9966df - Browse repository at this point
Copy the full SHA f9966dfView commit details -
Rollup merge of rust-lang#33342 - birkenfeld:issue-26472, r=jseyfried
typeck: if a private field exists, also check for a public method For example, `Vec::len` is both a field and a method, and usually encountering `vec.len` just means that the parens were forgotten. Fixes: rust-lang#26472 NOTE: I added the parameter `allow_private` to `method::exists` since I don't want to suggest inaccessible methods. For the second case, where only the method exists, I think it would make sense to set it to `false` as well, but I wanted to preserve compatibility for this case.
Configuration menu - View commit details
-
Copy full SHA for 216f3f4 - Browse repository at this point
Copy the full SHA 216f3f4View commit details -
Rollup merge of rust-lang#33345 - birkenfeld:issue-31754, r=pnkfelix
middle: reset loop labels while visiting closure This should fix rust-lang#31754 and follow-up rust-lang#25343. Before the latter, the closure was visited twice in the context of the enclosing fn, which made even a single closure with a loop label emit a warning. With this change, the closure is still visited within the context of the main fn (which is intended, since it is not a separate item) but resets the found loop labels while being visited. Fixes: rust-lang#31754 Note: I amended the test file from rust-lang#25343, but I don't know if the original or amended test are effective, since as far as I could see, compiletest's run-pass tests do not check for zero warnings emitted? /cc @Manishearth
Configuration menu - View commit details
-
Copy full SHA for 85a464c - Browse repository at this point
Copy the full SHA 85a464cView commit details -
Rollup merge of rust-lang#33386 - cramertj:E0504, r=steveklabnik
Add detailed error explanation for E0504 Part of rust-lang#32777
Configuration menu - View commit details
-
Copy full SHA for dbc1133 - Browse repository at this point
Copy the full SHA dbc1133View commit details -
Rollup merge of rust-lang#33524 - briangreenery:briangreenery-fast-an…
…d-loose, r=steveklabnik doc: Fix tiny typo in vec-alloc.md Change `fast an loose` to `fast and loose`.
Configuration menu - View commit details
-
Copy full SHA for efe519b - Browse repository at this point
Copy the full SHA efe519bView commit details -
Rollup merge of rust-lang#33528 - cramertj:E0061typeo, r=jseyfried
E0061 typo fix Fixed silly typo.
Configuration menu - View commit details
-
Copy full SHA for 33dc100 - Browse repository at this point
Copy the full SHA 33dc100View commit details -
Rollup merge of rust-lang#33539 - nikomatsakis:static-error, r=pnkfelix
fix DFS for region error reporting This was causing terrible error reports, because the algorithm was incorrectly identifying the constraints. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 10b2e4c - Browse repository at this point
Copy the full SHA 10b2e4cView commit details -
Rollup merge of rust-lang#33542 - GuillaumeGomez:move_since, r=stevek…
…labnik Improve "since" tag placement Continuation of rust-lang#33431. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for b77f2c9 - Browse repository at this point
Copy the full SHA b77f2c9View commit details