Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
96efaad3
R
Rust
项目概览
int
/
Rust
12 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
96efaad3
编写于
9月 12, 2019
作者:
G
Guillaume Gomez
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update ui tests
上级
28b0e1db
变更
44
隐藏空白更改
内联
并排
Showing
44 changed file
with
48 addition
and
7 deletion
+48
-7
src/test/ui/associated-types/cache/project-fn-ret-contravariant.transmute.stderr
...types/cache/project-fn-ret-contravariant.transmute.stderr
+1
-0
src/test/ui/associated-types/cache/project-fn-ret-invariant.transmute.stderr
...ted-types/cache/project-fn-ret-invariant.transmute.stderr
+1
-0
src/test/ui/c-variadic/variadic-ffi-4.stderr
src/test/ui/c-variadic/variadic-ffi-4.stderr
+2
-1
src/test/ui/error-codes/E0621-does-not-trigger-for-closures.stderr
...ui/error-codes/E0621-does-not-trigger-for-closures.stderr
+1
-0
src/test/ui/impl-header-lifetime-elision/dyn-trait.stderr
src/test/ui/impl-header-lifetime-elision/dyn-trait.stderr
+1
-0
src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr
src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr
+1
-0
src/test/ui/in-band-lifetimes/mismatched_trait_impl.nll.stderr
...est/ui/in-band-lifetimes/mismatched_trait_impl.nll.stderr
+1
-0
src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr
src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr
+1
-0
src/test/ui/issues/issue-16683.stderr
src/test/ui/issues/issue-16683.stderr
+1
-0
src/test/ui/issues/issue-17758.stderr
src/test/ui/issues/issue-17758.stderr
+1
-0
src/test/ui/issues/issue-20831-debruijn.stderr
src/test/ui/issues/issue-20831-debruijn.stderr
+2
-1
src/test/ui/issues/issue-52213.stderr
src/test/ui/issues/issue-52213.stderr
+1
-0
src/test/ui/issues/issue-55796.stderr
src/test/ui/issues/issue-55796.stderr
+1
-0
src/test/ui/nll/issue-55394.stderr
src/test/ui/nll/issue-55394.stderr
+1
-0
src/test/ui/nll/normalization-bounds-error.stderr
src/test/ui/nll/normalization-bounds-error.stderr
+1
-0
src/test/ui/nll/type-alias-free-regions.stderr
src/test/ui/nll/type-alias-free-regions.stderr
+1
-0
src/test/ui/nll/user-annotations/constant-in-expr-inherent-1.stderr
...i/nll/user-annotations/constant-in-expr-inherent-1.stderr
+1
-0
src/test/ui/nll/user-annotations/constant-in-expr-trait-item-3.stderr
...nll/user-annotations/constant-in-expr-trait-item-3.stderr
+1
-0
src/test/ui/object-lifetime/object-lifetime-default-elision.stderr
...ui/object-lifetime/object-lifetime-default-elision.stderr
+1
-0
src/test/ui/regions/region-object-lifetime-2.stderr
src/test/ui/regions/region-object-lifetime-2.stderr
+1
-0
src/test/ui/regions/region-object-lifetime-4.stderr
src/test/ui/regions/region-object-lifetime-4.stderr
+1
-0
src/test/ui/regions/region-object-lifetime-in-coercion.stderr
...test/ui/regions/region-object-lifetime-in-coercion.stderr
+2
-1
src/test/ui/regions/regions-addr-of-self.stderr
src/test/ui/regions/regions-addr-of-self.stderr
+1
-0
src/test/ui/regions/regions-addr-of-upvar-self.stderr
src/test/ui/regions/regions-addr-of-upvar-self.stderr
+1
-0
src/test/ui/regions/regions-assoc-type-region-bound-in-trait-not-met.stderr
...s/regions-assoc-type-region-bound-in-trait-not-met.stderr
+1
-0
src/test/ui/regions/regions-assoc-type-static-bound-in-trait-not-met.stderr
...s/regions-assoc-type-static-bound-in-trait-not-met.stderr
+1
-0
src/test/ui/regions/regions-close-object-into-object-2.stderr
...test/ui/regions/regions-close-object-into-object-2.stderr
+1
-0
src/test/ui/regions/regions-close-object-into-object-4.stderr
...test/ui/regions/regions-close-object-into-object-4.stderr
+1
-0
src/test/ui/regions/regions-close-over-type-parameter-multiple.stderr
...regions/regions-close-over-type-parameter-multiple.stderr
+1
-0
src/test/ui/regions/regions-creating-enums4.stderr
src/test/ui/regions/regions-creating-enums4.stderr
+1
-0
src/test/ui/regions/regions-escape-method.stderr
src/test/ui/regions/regions-escape-method.stderr
+1
-0
src/test/ui/regions/regions-escape-via-trait-or-not.stderr
src/test/ui/regions/regions-escape-via-trait-or-not.stderr
+1
-0
src/test/ui/regions/regions-free-region-ordering-incorrect.stderr
.../ui/regions/regions-free-region-ordering-incorrect.stderr
+1
-0
src/test/ui/regions/regions-infer-call-3.stderr
src/test/ui/regions/regions-infer-call-3.stderr
+1
-0
src/test/ui/regions/regions-nested-fns.stderr
src/test/ui/regions/regions-nested-fns.stderr
+2
-1
src/test/ui/regions/regions-normalize-in-where-clause-list.stderr
.../ui/regions/regions-normalize-in-where-clause-list.stderr
+1
-0
src/test/ui/regions/regions-ret-borrowed-1.stderr
src/test/ui/regions/regions-ret-borrowed-1.stderr
+1
-0
src/test/ui/regions/regions-ret-borrowed.stderr
src/test/ui/regions/regions-ret-borrowed.stderr
+1
-0
src/test/ui/regions/regions-return-ref-to-upvar-issue-17403.stderr
...ui/regions/regions-return-ref-to-upvar-issue-17403.stderr
+1
-0
src/test/ui/regions/regions-trait-object-subtyping.stderr
src/test/ui/regions/regions-trait-object-subtyping.stderr
+1
-1
src/test/ui/reject-specialized-drops-8142.stderr
src/test/ui/reject-specialized-drops-8142.stderr
+1
-1
src/test/ui/traits/trait-impl-of-supertrait-has-wrong-lifetime-parameters.stderr
...t-impl-of-supertrait-has-wrong-lifetime-parameters.stderr
+1
-0
src/test/ui/underscore-lifetime/dyn-trait-underscore.stderr
src/test/ui/underscore-lifetime/dyn-trait-underscore.stderr
+1
-0
src/test/ui/wf/wf-static-method.stderr
src/test/ui/wf/wf-static-method.stderr
+1
-1
未找到文件。
src/test/ui/associated-types/cache/project-fn-ret-contravariant.transmute.stderr
浏览文件 @
96efaad3
...
...
@@ -23,3 +23,4 @@ LL | bar(foo, x)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/associated-types/cache/project-fn-ret-invariant.transmute.stderr
浏览文件 @
96efaad3
...
...
@@ -19,3 +19,4 @@ LL | fn baz<'a,'b>(x: Type<'a>) -> Type<'static> {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/c-variadic/variadic-ffi-4.stderr
浏览文件 @
96efaad3
...
...
@@ -209,4 +209,5 @@ LL | | }
error: aborting due to 8 previous errors
For more information about this error, try `rustc --explain E0308`.
Some errors have detailed explanations: E0308, E0495.
For more information about an error, try `rustc --explain E0308`.
src/test/ui/error-codes/E0621-does-not-trigger-for-closures.stderr
浏览文件 @
96efaad3
...
...
@@ -27,3 +27,4 @@ LL | invoke(&x, |a, b| if a > b { a } else { b });
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/impl-header-lifetime-elision/dyn-trait.stderr
浏览文件 @
96efaad3
...
...
@@ -19,3 +19,4 @@ LL | fn with_dyn_debug_static<'a>(x: Box<dyn Debug + 'a>) {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr
浏览文件 @
96efaad3
...
...
@@ -18,3 +18,4 @@ LL | | }
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/in-band-lifetimes/mismatched_trait_impl.nll.stderr
浏览文件 @
96efaad3
...
...
@@ -22,3 +22,4 @@ LL | fn foo(&self, x: &u32, y: &'a u32) -> &'a u32 {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr
浏览文件 @
96efaad3
...
...
@@ -32,3 +32,4 @@ LL | x
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0495`.
src/test/ui/issues/issue-16683.stderr
浏览文件 @
96efaad3
...
...
@@ -27,3 +27,4 @@ LL | trait T<'a> {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/issues/issue-17758.stderr
浏览文件 @
96efaad3
...
...
@@ -28,3 +28,4 @@ LL | trait Foo<'a> {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/issues/issue-20831-debruijn.stderr
浏览文件 @
96efaad3
...
...
@@ -94,4 +94,5 @@ LL | impl<'a> Publisher<'a> for MyStruct<'a> {
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0308`.
Some errors have detailed explanations: E0308, E0495.
For more information about an error, try `rustc --explain E0308`.
src/test/ui/issues/issue-52213.stderr
浏览文件 @
96efaad3
...
...
@@ -25,3 +25,4 @@ LL | ((u,),) => u,
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/issues/issue-55796.stderr
浏览文件 @
96efaad3
...
...
@@ -42,3 +42,4 @@ LL | Box::new(self.in_edges(u).map(|e| e.target()))
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0495`.
src/test/ui/nll/issue-55394.stderr
浏览文件 @
96efaad3
...
...
@@ -27,3 +27,4 @@ LL | impl Foo<'_> {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/nll/normalization-bounds-error.stderr
浏览文件 @
96efaad3
...
...
@@ -20,3 +20,4 @@ LL | fn visit_seq<'d, 'a: 'd>() -> <&'a () as Visitor<'d>>::Value {}
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/nll/type-alias-free-regions.stderr
浏览文件 @
96efaad3
...
...
@@ -50,3 +50,4 @@ LL | impl<'a> FromTuple<'a> for C<'a> {
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0495`.
src/test/ui/nll/user-annotations/constant-in-expr-inherent-1.stderr
浏览文件 @
96efaad3
...
...
@@ -21,3 +21,4 @@ LL | <Foo<'a>>::C
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/nll/user-annotations/constant-in-expr-trait-item-3.stderr
浏览文件 @
96efaad3
...
...
@@ -21,3 +21,4 @@ LL | T::C
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/object-lifetime/object-lifetime-default-elision.stderr
浏览文件 @
96efaad3
...
...
@@ -50,3 +50,4 @@ LL | fn load3<'a,'b>(ss: &'a dyn SomeTrait) -> &'b dyn SomeTrait {
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/region-object-lifetime-2.stderr
浏览文件 @
96efaad3
...
...
@@ -27,3 +27,4 @@ LL | x.borrowed()
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/region-object-lifetime-4.stderr
浏览文件 @
96efaad3
...
...
@@ -27,3 +27,4 @@ LL | x.borrowed()
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/region-object-lifetime-in-coercion.stderr
浏览文件 @
96efaad3
...
...
@@ -48,4 +48,5 @@ LL | fn d<'a,'b>(v: &'a [u8]) -> Box<dyn Foo+'b> {
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0621`.
Some errors have detailed explanations: E0495, E0621.
For more information about an error, try `rustc --explain E0495`.
src/test/ui/regions/regions-addr-of-self.stderr
浏览文件 @
96efaad3
...
...
@@ -26,3 +26,4 @@ LL | let p: &'static mut usize = &mut self.cats_chased;
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-addr-of-upvar-self.stderr
浏览文件 @
96efaad3
...
...
@@ -23,3 +23,4 @@ LL | let p: &'static mut usize = &mut self.food;
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-assoc-type-region-bound-in-trait-not-met.stderr
浏览文件 @
96efaad3
...
...
@@ -46,3 +46,4 @@ LL | impl<'a,'b> Foo<'b> for &'a i64 {
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-assoc-type-static-bound-in-trait-not-met.stderr
浏览文件 @
96efaad3
...
...
@@ -21,3 +21,4 @@ LL | impl<'a> Foo for &'a i32 {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-close-object-into-object-2.stderr
浏览文件 @
96efaad3
...
...
@@ -21,3 +21,4 @@ LL | box B(&*v) as Box<dyn X>
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-close-object-into-object-4.stderr
浏览文件 @
96efaad3
...
...
@@ -21,3 +21,4 @@ LL | box B(&*v) as Box<dyn X>
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-close-over-type-parameter-multiple.stderr
浏览文件 @
96efaad3
...
...
@@ -25,3 +25,4 @@ LL | fn make_object_bad<'a,'b,'c,A:SomeTrait+'a+'b>(v: A) -> Box<dyn SomeTrait +
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-creating-enums4.stderr
浏览文件 @
96efaad3
...
...
@@ -23,3 +23,4 @@ LL | fn mk_add_bad2<'a,'b>(x: &'a Ast<'a>, y: &'a Ast<'a>, z: &Ast) -> Ast<'b> {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-escape-method.stderr
浏览文件 @
96efaad3
...
...
@@ -25,3 +25,4 @@ LL | s.f(|p| p)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-escape-via-trait-or-not.stderr
浏览文件 @
96efaad3
...
...
@@ -25,3 +25,4 @@ LL | with(|o| o)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-free-region-ordering-incorrect.stderr
浏览文件 @
96efaad3
...
...
@@ -30,3 +30,4 @@ LL | | }
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-infer-call-3.stderr
浏览文件 @
96efaad3
...
...
@@ -27,3 +27,4 @@ LL | let z = with(|y| { select(x, y) });
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-nested-fns.stderr
浏览文件 @
96efaad3
...
...
@@ -57,4 +57,5 @@ LL | fn nested<'x>(x: &'x isize) {
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0312`.
Some errors have detailed explanations: E0312, E0495.
For more information about an error, try `rustc --explain E0312`.
src/test/ui/regions/regions-normalize-in-where-clause-list.stderr
浏览文件 @
96efaad3
...
...
@@ -23,3 +23,4 @@ LL | fn bar<'a, 'b>()
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-ret-borrowed-1.stderr
浏览文件 @
96efaad3
...
...
@@ -25,3 +25,4 @@ LL | with(|o| o)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-ret-borrowed.stderr
浏览文件 @
96efaad3
...
...
@@ -25,3 +25,4 @@ LL | with(|o| o)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-return-ref-to-upvar-issue-17403.stderr
浏览文件 @
96efaad3
...
...
@@ -27,3 +27,4 @@ LL | let y = f();
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/regions/regions-trait-object-subtyping.stderr
浏览文件 @
96efaad3
...
...
@@ -61,5 +61,5 @@ LL | fn foo4<'a:'b,'b>(x: Wrapper<&'a mut dyn Dummy>) -> Wrapper<&'b mut dyn Dum
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0308, E0478.
Some errors have detailed explanations: E0308, E0478
, E0495
.
For more information about an error, try `rustc --explain E0308`.
src/test/ui/reject-specialized-drops-8142.stderr
浏览文件 @
96efaad3
...
...
@@ -111,5 +111,5 @@ LL | struct W<'l1, 'l2> { x: &'l1 i8, y: &'l2 u8 }
error: aborting due to 8 previous errors
Some errors have detailed explanations: E0308, E0366, E0367.
Some errors have detailed explanations: E0308, E0366, E0367
, E0495
.
For more information about an error, try `rustc --explain E0308`.
src/test/ui/traits/trait-impl-of-supertrait-has-wrong-lifetime-parameters.stderr
浏览文件 @
96efaad3
...
...
@@ -20,3 +20,4 @@ LL | impl<'a,'b> T2<'a, 'b> for S<'a, 'b> {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/underscore-lifetime/dyn-trait-underscore.stderr
浏览文件 @
96efaad3
...
...
@@ -24,3 +24,4 @@ LL | Box::new(items.iter())
error: aborting due to previous error
For more information about this error, try `rustc --explain E0495`.
src/test/ui/wf/wf-static-method.stderr
浏览文件 @
96efaad3
...
...
@@ -105,5 +105,5 @@ LL | <IndirectEvil>::static_evil(b)
error: aborting due to 5 previous errors
Some errors have detailed explanations: E0312, E0478.
Some errors have detailed explanations: E0312, E0478
, E0495
.
For more information about an error, try `rustc --explain E0312`.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录