summaryrefslogtreecommitdiff
path: root/tests/lean
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-06-28 08:44:12 +0200
committerGitHub2024-06-28 08:44:12 +0200
commit2e9d264566d32a9ee2a12d005851434cd8390975 (patch)
tree587d1396610dc9be70e4d973eb737aef3d378743 /tests/lean
parent3f07bf067fe725c2bc60b12139ff9cba13375c6a (diff)
parentc00d337f48cbaf56a5b81f396c2f18ae811aee5a (diff)
Merge pull request #271 from Nadrieril/update-charon2
Diffstat (limited to 'tests/lean')
-rw-r--r--tests/lean/External/Funs.lean4
-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, 7 insertions, 7 deletions
diff --git a/tests/lean/External/Funs.lean b/tests/lean/External/Funs.lean
index 15655b6c..937bd212 100644
--- a/tests/lean/External/Funs.lean
+++ b/tests/lean/External/Funs.lean
@@ -10,8 +10,8 @@ set_option linter.unusedVariables false
namespace external
-/- Trait implementation: [core::marker::{(core::marker::Copy for u32)#61}]
- Source: '/rustc/library/core/src/marker.rs', lines 47:29-47:62
+/- Trait implementation: [core::marker::{(core::marker::Copy for u32)#41}]
+ Source: '/rustc/library/core/src/marker.rs', lines 47:25-47:62
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 ce2cfe47..40583df2 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/library/core/src/cell.rs', lines 510:4-510:26
+ Source: '/rustc/library/core/src/cell.rs', lines 533:4-533: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/library/core/src/cell.rs', lines 588:4-588:39
+ Source: '/rustc/library/core/src/cell.rs', lines 611:4-611: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 43c8a165..7ed56940 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/library/core/src/marker.rs', lines 472:0-472:21
+ Source: '/rustc/library/core/src/marker.rs', lines 403:0-403: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 4f499117..045a0de3 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/library/core/src/cell.rs', lines 294:0-294:26
+ Source: '/rustc/library/core/src/cell.rs', lines 308:0-308: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 4ea6e78f..b220042f 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/library/core/src/result.rs', lines 502:0-502:21
+ Source: '/rustc/library/core/src/result.rs', lines 527:0-527:21
Name pattern: core::result::Result -/
inductive core.result.Result (T E : Type) :=
| Ok : T → core.result.Result T E