Skip to content
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 23 pull requests #49264

Merged
merged 79 commits into from
Mar 22, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
312e53d
Update RELEASES.md for 1.25.0
Feb 20, 2018
1f3b626
Update RELEASES.md
Aaronepower Feb 20, 2018
acc1b6d
Update RELEASES.md
Aaronepower Feb 22, 2018
f83618b
Update RELEASES.md
Aaronepower Mar 14, 2018
017bfc3
expose #[target_feature] attributes in rustdoc
QuietMisdreavus Mar 5, 2018
4647156
replace `convert::Infallible` with `!`
canndrew Mar 15, 2018
450d35f
Remove unused fields
wesleywiser Mar 8, 2018
86a123c
Queryify check_item_well_formed
wesleywiser Mar 10, 2018
edbd02f
Queryify check_trait_item_well_formed
wesleywiser Mar 10, 2018
4f1f389
Queryify check_impl_item_well_formed
wesleywiser Mar 10, 2018
b418b7b
Remove CheckTypeWellFormed struct and convert to free functions
wesleywiser Mar 13, 2018
15bab45
Add From<!> for TryFromIntError
canndrew Mar 15, 2018
e09dbbc
Add an example of lossy decoding to str::Utf8Error docs
SimonSapin Mar 17, 2018
7278e37
update FIXME(#6393) to point to issue 43234 (tracking issue for non-l…
nivkner Dec 9, 2017
ba836f4
update FIXME(#15760) to point to issue 27336 (tracking issue for Defa…
nivkner Mar 16, 2018
d1dacdd
update FIXME(#7622) to point to issue 44580 (tracking issue for const…
nivkner Mar 17, 2018
e1b9bf0
update FIXME(#23442) to point to issue 45742 (Blanket impl of AsRef f…
nivkner Mar 17, 2018
3753e1a
update FIXME(#5244) to point to RFC 1109 (Non-Copy array creation erg…
nivkner Mar 16, 2018
4a06708
remove FIXME(#39119) and allow running test on emscripten
nivkner Dec 9, 2017
622c445
remove FIXME(#37712) and implement ItemLikeVisitor instead of Visitor
nivkner Dec 9, 2017
69d12a2
remove FIXME(#30046) and infer moves on pattern matching
nivkner Mar 16, 2018
fd00755
remove FIXME(#11094) and allow make tests to run on targets besides host
nivkner Mar 17, 2018
2c6b7b9
remove FIXME(#2543) and avoid bad copies
nivkner Mar 17, 2018
0d8fa82
remove FIXME(#48116) and remove the logic to debug the issue
nivkner Mar 16, 2018
be73a1f
remove FIXME(#33435) and remove the spurious failures counter measure
nivkner Mar 17, 2018
c8be5c3
remove FIXME(#8372) since for-loops wont support borrowing iterators
nivkner Mar 17, 2018
d5b55c1
remove FIXME(#27889) since the issue is already fixed
nivkner Mar 17, 2018
e269a74
Allow test target to pass without installing
semarie Mar 18, 2018
7786f70
Add warning for invalid start of code blocks in rustdoc
GuillaumeGomez Feb 28, 2018
ca476dd
Revert "Remove useless powerpc64 entry from ARCH_TABLE, closes #47737"
varkor Mar 19, 2018
1578b1e
Update submodules in parallel
Zoxc Mar 16, 2018
e2cf172
Update RELEASES.md
Aaronepower Mar 19, 2018
2b64799
Make Atomic doc examples specific to each type
GuillaumeGomez Mar 14, 2018
bac6484
Fix automatic urls with backticks
GuillaumeGomez Mar 19, 2018
25c8210
Put `#[macro_use] extern crate <crate>` before fn main() in doctests
memoryleak47 Mar 19, 2018
c43b1a0
Convert SerializedDepGraph to be a struct-of-arrays
wesleywiser Mar 15, 2018
eae6d51
Add more canonicalisations for OS_TABLE and ARCH_TABLE
varkor Mar 19, 2018
61e1fbc
Make compiletest do exact matching on triples
varkor Mar 19, 2018
859640a
Run the `run-make` tests last, so more tests run on Windows when `mak…
Zoxc Mar 20, 2018
de9e665
Improve comments for Rule Implemented-From-Impl
varkor Mar 20, 2018
b8c75d9
Implement Rule Implemented-From-Env
varkor Mar 20, 2018
7791995
Add unit test for Implemented-From-Env
varkor Mar 20, 2018
53c6d9b
Don't check interpret_interner when accessing a static to fix miri mu…
bjorn3 Mar 20, 2018
25abe48
Pass attributes to hir::TyParam
mrowqa Mar 20, 2018
6956bbf
whitelist every target feature for rustdoc
QuietMisdreavus Mar 21, 2018
66d120c
Revert "remove FIXME(#33435) and remove the spurious failures counter…
nivkner Mar 21, 2018
e0165af
fix vector fmin/fmax non-fast/fast intrinsics NaN handling
gnzlbg Mar 21, 2018
5aa29c4
Fix test error
bjorn3 Mar 21, 2018
c7bdd37
Revert "Apply a fix to travis-ci/dpl#788 manually until dpl 1.9.5 is …
kennytm Mar 21, 2018
c09b9f9
Deprecate the AsciiExt trait in favor of inherent methods
SimonSapin Mar 17, 2018
4b67324
Fix type_dependent_defs ICE on method calls
varkor Mar 21, 2018
2ba41e9
update stdsimd
QuietMisdreavus Mar 21, 2018
3272b63
Moved test to ui
varkor Mar 21, 2018
99b49b5
Now it compiles
mrowqa Mar 21, 2018
b3fb0d1
add target_feature items to doc_cfg rustdoc test
QuietMisdreavus Mar 22, 2018
d313700
Rollup merge of #48374 - Aaronepower:master, r=Mark-Simulacrum
kennytm Mar 22, 2018
a848336
Rollup merge of #48596 - GuillaumeGomez:invalid-code-block-start, r=Q…
kennytm Mar 22, 2018
d670842
Rollup merge of #48759 - QuietMisdreavus:simd-feature-docs, r=Guillau…
kennytm Mar 22, 2018
b7ee149
Rollup merge of #48939 - wesleywiser:incr_query_wf_checking, r=michae…
kennytm Mar 22, 2018
ca54ff2
Rollup merge of #49029 - GuillaumeGomez:atomic-docs, r=QuietMisdreavus
kennytm Mar 22, 2018
50850c6
Rollup merge of #49069 - wesleywiser:incr_soa, r=michaelwoerister
kennytm Mar 22, 2018
08526c8
Rollup merge of #49093 - Zoxc:speedup, r=aidanhs
kennytm Mar 22, 2018
245f4c4
Rollup merge of #49109 - SimonSapin:deprecate-asciiext, r=alexcrichton
kennytm Mar 22, 2018
8d3f3f0
Rollup merge of #49117 - nivkner:fixme_fixup3, r=estebank
kennytm Mar 22, 2018
20eaf35
Rollup merge of #49140 - semarie:rustdoc-test-path, r=alexcrichton
kennytm Mar 22, 2018
c945725
Rollup merge of #49158 - varkor:compiletest-triples, r=rkruppe
kennytm Mar 22, 2018
95967c7
Rollup merge of #49188 - memoryleak47:macro_use_doctest, r=QuietMisdr…
kennytm Mar 22, 2018
d7eda77
Rollup merge of #49189 - GuillaumeGomez:fix-implied-shortcut-links, r…
kennytm Mar 22, 2018
34eca53
Rollup merge of #49209 - Zoxc:run-make-last, r=Mark-Simulacrum
kennytm Mar 22, 2018
70ae917
Rollup merge of #49211 - varkor:chalk-lowering-Implemented-From-Env, …
kennytm Mar 22, 2018
346a46e
Rollup merge of #49216 - bjorn3:patch-1, r=estebank
kennytm Mar 22, 2018
3e95c71
Rollup merge of #49225 - QuietMisdreavus:all-the-features-all-the-tim…
kennytm Mar 22, 2018
87f5a4b
Rollup merge of #49231 - gnzlbg:fix_vec_fminmax, r=rkruppe
kennytm Mar 22, 2018
a10db97
Rollup merge of #49234 - kennytm:revert-fix-dpl-788, r=alexcrichton
kennytm Mar 22, 2018
eb99deb
Rollup merge of #49242 - Mrowqa:typaram-attrs, r=petrochenkov
kennytm Mar 22, 2018
d54f74e
Rollup merge of #49244 - varkor:type_dependent_defs_ExprMethodCall, r…
kennytm Mar 22, 2018
a4bc859
Revert "Temporarily disable dist-ing RLS, Rustfmt and Clippy."
kennytm Mar 22, 2018
2b9674d
Rollup merge of #49105 - SimonSapin:from_utf8_lossy_example, r=alexcr…
kennytm Mar 22, 2018
2c6f911
Rollup merge of #49038 - canndrew:replace-infallible-with-never, r=Si…
kennytm Mar 22, 2018
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
Prev Previous commit
Next Next commit
Remove CheckTypeWellFormed struct and convert to free functions
Related to #48939
  • Loading branch information
wesleywiser committed Mar 16, 2018
commit b418b7ba0f7393d789860f96a718a4fba2729271
6 changes: 3 additions & 3 deletions src/librustc_typeck/check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,15 +719,15 @@ fn typeck_item_bodies<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, crate_num: CrateNum
}

fn check_item_well_formed<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, def_id: DefId) {
wfcheck::CheckTypeWellFormed::new(tcx).check_item_well_formed(def_id);
wfcheck::check_item_well_formed(tcx, def_id);
}

fn check_trait_item_well_formed<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, def_id: DefId) {
wfcheck::CheckTypeWellFormed::new(tcx).check_trait_item(def_id);
wfcheck::check_trait_item(tcx, def_id);
}

fn check_impl_item_well_formed<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, def_id: DefId) {
wfcheck::CheckTypeWellFormed::new(tcx).check_impl_item(def_id);
wfcheck::check_impl_item(tcx, def_id);
}

pub fn provide(providers: &mut Providers) {
Expand Down
Loading