summaryrefslogtreecommitdiff
path: root/tests/lean
diff options
context:
space:
mode:
authorSon HO2024-06-17 23:30:10 +0200
committerGitHub2024-06-17 23:30:10 +0200
commit878be6d051f2f920fdc6c90add8423fa6f489492 (patch)
treec967637249ea1c9001983e09e1f04f17b8e0a1d4 /tests/lean
parent820916ca6d5b247417b18bb8b9d981b7ef0a9195 (diff)
parent76ab141814644a94bffc8497e5845436d86b1083 (diff)
Merge branch 'main' into son/cleanup
Diffstat (limited to 'tests/lean')
-rw-r--r--tests/lean/External/Funs.lean2
-rw-r--r--tests/lean/External/FunsExternal_Template.lean4
-rw-r--r--tests/lean/External/Types.lean2
-rw-r--r--tests/lean/External/TypesExternal_Template.lean2
-rw-r--r--tests/lean/Traits.lean2
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/lean/External/Funs.lean b/tests/lean/External/Funs.lean
index cd1883e5..d97e5286 100644
--- a/tests/lean/External/Funs.lean
+++ b/tests/lean/External/Funs.lean
@@ -11,7 +11,7 @@ set_option linter.unusedVariables false
namespace external
/- Trait implementation: [core::marker::{(core::marker::Copy for u32)#61}]
- Source: '/rustc/65ea825f4021eaf77f1b25139969712d65b435a4/library/core/src/marker.rs', lines 47:29-47:65
+ Source: '/rustc/library/core/src/marker.rs', lines 47:29-47:65
Name pattern: core::marker::Copy<u32> -/
def core.marker.CopyU32 : core.marker.Copy U32 := {
cloneCloneInst := core.clone.CloneU32
diff --git a/tests/lean/External/FunsExternal_Template.lean b/tests/lean/External/FunsExternal_Template.lean
index 51050b21..ce2cfe47 100644
--- a/tests/lean/External/FunsExternal_Template.lean
+++ b/tests/lean/External/FunsExternal_Template.lean
@@ -10,14 +10,14 @@ set_option linter.unusedVariables false
open external
/- [core::cell::{core::cell::Cell<T>#10}::get]:
- Source: '/rustc/65ea825f4021eaf77f1b25139969712d65b435a4/library/core/src/cell.rs', lines 510:4-510:26
+ Source: '/rustc/library/core/src/cell.rs', lines 510:4-510:26
Name pattern: core::cell::{core::cell::Cell<@T>}::get -/
axiom core.cell.Cell.get
(T : Type) (markerCopyInst : core.marker.Copy T) :
core.cell.Cell T → State → Result (State × T)
/- [core::cell::{core::cell::Cell<T>#11}::get_mut]:
- Source: '/rustc/65ea825f4021eaf77f1b25139969712d65b435a4/library/core/src/cell.rs', lines 588:4-588:39
+ Source: '/rustc/library/core/src/cell.rs', lines 588:4-588:39
Name pattern: core::cell::{core::cell::Cell<@T>}::get_mut -/
axiom core.cell.Cell.get_mut
(T : Type) :
diff --git a/tests/lean/External/Types.lean b/tests/lean/External/Types.lean
index 50446e1c..f92e3335 100644
--- a/tests/lean/External/Types.lean
+++ b/tests/lean/External/Types.lean
@@ -10,7 +10,7 @@ set_option linter.unusedVariables false
namespace external
/- Trait declaration: [core::marker::Copy]
- Source: '/rustc/65ea825f4021eaf77f1b25139969712d65b435a4/library/core/src/marker.rs', lines 465:0-465:21
+ Source: '/rustc/library/core/src/marker.rs', lines 465:0-465:21
Name pattern: core::marker::Copy -/
structure core.marker.Copy (Self : Type) where
cloneCloneInst : core.clone.Clone Self
diff --git a/tests/lean/External/TypesExternal_Template.lean b/tests/lean/External/TypesExternal_Template.lean
index 2cfbcc80..4f499117 100644
--- a/tests/lean/External/TypesExternal_Template.lean
+++ b/tests/lean/External/TypesExternal_Template.lean
@@ -8,7 +8,7 @@ set_option linter.hashCommand false
set_option linter.unusedVariables false
/- [core::cell::Cell]
- Source: '/rustc/65ea825f4021eaf77f1b25139969712d65b435a4/library/core/src/cell.rs', lines 294:0-294:26
+ Source: '/rustc/library/core/src/cell.rs', lines 294:0-294:26
Name pattern: core::cell::Cell -/
axiom core.cell.Cell (T : Type) : Type
diff --git a/tests/lean/Traits.lean b/tests/lean/Traits.lean
index 51aba5bf..b40d2a6f 100644
--- a/tests/lean/Traits.lean
+++ b/tests/lean/Traits.lean
@@ -515,7 +515,7 @@ structure Foo (T U : Type) where
y : U
/- [core::result::Result]
- Source: '/rustc/65ea825f4021eaf77f1b25139969712d65b435a4/library/core/src/result.rs', lines 502:0-502:21
+ Source: '/rustc/library/core/src/result.rs', lines 502:0-502:21
Name pattern: core::result::Result -/
inductive core.result.Result (T E : Type) :=
| Ok : T → core.result.Result T E