Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
897d278
libstd: Fix typos in doc
rick68 Sep 10, 2019
00d9db1
Added doc about behavior of extend on HashMap
Kixunil Oct 3, 2019
70c14dd
Move const generic regression tests to their old folder
varkor Oct 7, 2019
5e65e2b
Add a regression test for issue 62187
varkor Oct 7, 2019
2328a7e
Move stray issue tests into src/test/ui/issues
varkor Oct 7, 2019
4eba21e
Add regression test for #64792
varkor Oct 7, 2019
85b7aa2
Add a regression test for #57399
varkor Oct 7, 2019
c990744
Add a regression test for #57271
varkor Oct 7, 2019
5808971
Add ?Sized bound to a supertrait listing in E0038 error documentation
sugar700 Oct 8, 2019
2afd277
Fix calling function pointer const parameters. Also fixes inference of
skinnyBat Oct 1, 2019
a59eb6d
Pretty print function pointer const values.
skinnyBat Oct 2, 2019
cf3b561
Gate use of raw and function pointers in const generics behind
skinnyBat Oct 4, 2019
43badf9
Substitute and normalize all types of consts within collect const
skinnyBat Oct 4, 2019
9677cbe
Refactor pretty print const to use a big match statement
skinnyBat Oct 4, 2019
50ea5f4
Fix reify_fn_ptr test as we now pretty print const function pointers.
skinnyBat Oct 5, 2019
16b7f44
Update feature gate error message
skinnyBat Oct 7, 2019
5986fe2
Update ui tests
skinnyBat Oct 8, 2019
2c81089
Update LLVM for Emscripten exception handling support
tlively Oct 8, 2019
7dc4bf4
Change incorrect trait name in E0038 error documentation
sugar700 Oct 8, 2019
3f9d834
Add failing example for Self in supertrait listing in E0038 documenta…
sugar700 Oct 9, 2019
89cc046
Pretty print raw pointers in consts as '{pointer}'.
skinnyBat Oct 9, 2019
af3f8de
Delegate is_{freeze,copy,sized}_raw to is_item_raw
mbStavola Oct 10, 2019
ee08114
Qualify LangItem
mbStavola Oct 10, 2019
8569dd1
Preserve output of raw pointers in mir dump.
skinnyBat Oct 10, 2019
19bc0a8
Mark Path::join as must_use
matklad Oct 10, 2019
847ad6a
Add long error explanation for E0568
GuillaumeGomez Oct 8, 2019
3c62bdc
Update ui tests
GuillaumeGomez Oct 8, 2019
fb392c5
Don't cc rust-lang/compiler for toolstate changes
varkor Oct 10, 2019
9f69420
query generator kind for error reporting
csmoe Oct 10, 2019
ceb4c3f
stability: Do not use `buffer_lint` after lowering to HIR
petrochenkov Oct 10, 2019
c97d715
Fix issue 65284
varkor Oct 10, 2019
a32aec0
deriving: avoid dummy Span on an artificial `type_ident` path
da-x Oct 11, 2019
e285175
test: extend derive_on_deprecated to include more derivations
da-x Oct 11, 2019
000fe63
Remove painful test that is not pulling its weight
Mark-Simulacrum Oct 11, 2019
215b091
Rollup merge of #64337 - rick68:patch-17, r=Dylan-DPC
tmandry Oct 11, 2019
ea0d155
Rollup merge of #64986 - skinny121:fn-ptr-const-generics, r=varkor
tmandry Oct 11, 2019
ec1d008
Rollup merge of #65048 - Kixunil:patch-1, r=KodrAus
tmandry Oct 11, 2019
728adc4
Rollup merge of #65191 - varkor:const-generics-test-cases, r=nikomats…
tmandry Oct 11, 2019
6687edc
Rollup merge of #65200 - xfix:patch-20, r=GuillaumeGomez
tmandry Oct 11, 2019
7a2bb04
Rollup merge of #65205 - GuillaumeGomez:long-err-explanation-E0568, r…
tmandry Oct 11, 2019
2403c37
Rollup merge of #65220 - tlively:update-llvm-for-emscripten-exception…
tmandry Oct 11, 2019
e4eb54d
Rollup merge of #65263 - mbStavola:dedup-raw-item-fns, r=Centril
tmandry Oct 11, 2019
48051e4
Rollup merge of #65266 - rust-lang:must-use-join, r=dtolnay
tmandry Oct 11, 2019
9917f06
Rollup merge of #65276 - varkor:toolstate-no-ping, r=Mark-Simulacrum
tmandry Oct 11, 2019
60482be
Rollup merge of #65277 - csmoe:fix-move, r=estebank
tmandry Oct 11, 2019
976a57a
Rollup merge of #65283 - petrochenkov:softstab2, r=estebank
tmandry Oct 11, 2019
811bd38
Rollup merge of #65289 - varkor:issue-65284, r=estebank
tmandry Oct 11, 2019
c8e3c51
Rollup merge of #65310 - da-x:issue-56195, r=petrochenkov
tmandry Oct 11, 2019
b93203f
Rollup merge of #65321 - Mark-Simulacrum:remove-linker-no-utf8-test, …
tmandry Oct 11, 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
Prev Previous commit
Next Next commit
Update ui tests
  • Loading branch information
skinnyBat committed Oct 8, 2019
commit 5986fe24bd40162f11aca0327d2ecd62973c354d
8 changes: 4 additions & 4 deletions src/test/ui/const-generics/fn-const-param-infer.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ error[E0308]: mismatched types
LL | let _: Checked<{not_one}> = Checked::<{not_two}>;
| ^^^^^^^^^^^^^^^^^^^^ expected `not_one`, found `not_two`
|
= note: expected type `Checked<>`
found type `Checked<>`
= note: expected type `Checked<not_one>`
found type `Checked<not_two>`

error[E0308]: mismatched types
--> $DIR/fn-const-param-infer.rs:20:24
Expand All @@ -36,8 +36,8 @@ error[E0308]: mismatched types
LL | let _: Checked<{generic::<u32>}> = Checked::<{generic::<u16>}>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `generic::<u32>`, found `generic::<u16>`
|
= note: expected type `Checked<>`
found type `Checked<>`
= note: expected type `Checked<generic::<u32>>`
found type `Checked<generic::<u16>>`

error: aborting due to 4 previous errors

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/const-generics/raw-ptr-const-param.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ error[E0308]: mismatched types
LL | let _: Const<{15 as *const _}> = Const::<{10 as *const _}>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Scalar(0x000000000000000f) : *const u32`, found `Scalar(0x000000000000000a) : *const u32`
|
= note: expected type `Const<>`
found type `Const<>`
= note: expected type `Const<Scalar(0x000000000000000f) : *const u32>`
found type `Const<Scalar(0x000000000000000a) : *const u32>`

error: aborting due to previous error

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/feature-gates/feature-gate-const_generics-ptr.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
struct ConstFn<const F: fn()>;
//~^ ERROR const generics are unstable
//~^^ ERROR use of function pointers as const generic arguments are unstable
//~^^ ERROR using function pointers as const generic parameters is unstable

struct ConstPtr<const P: *const u32>;
//~^ ERROR const generics are unstable
//~^^ ERROR use of raw pointers as const generic arguments are unstable
//~^^ ERROR using raw pointers as const generic parameters is unstable

fn main() {}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LL | struct ConstPtr<const P: *const u32>;
= note: for more information, see https://github.com/rust-lang/rust/issues/44580
= help: add `#![feature(const_generics)]` to the crate attributes to enable

error[E0658]: use of function pointers as const generic arguments are unstable
error[E0658]: using function pointers as const generic parameters is unstable
--> $DIR/feature-gate-const_generics-ptr.rs:1:25
|
LL | struct ConstFn<const F: fn()>;
Expand All @@ -25,7 +25,7 @@ LL | struct ConstFn<const F: fn()>;
= note: for more information, see https://github.com/rust-lang/rust/issues/53020
= help: add `#![feature(const_compare_raw_pointers)]` to the crate attributes to enable

error[E0658]: use of raw pointers as const generic arguments are unstable
error[E0658]: using raw pointers as const generic parameters is unstable
--> $DIR/feature-gate-const_generics-ptr.rs:5:26
|
LL | struct ConstPtr<const P: *const u32>;
Expand Down