summaryrefslogtreecommitdiff
path: root/tests/lean
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-06-17 12:00:35 +0200
committerGitHub2024-06-17 12:00:35 +0200
commit0e5f86f4c75450c20bdde9e7122f6656680759ca (patch)
treeabc470cab0fa5c8a9b51c8d9c03287285358f92d /tests/lean
parent98ddb24f199e177a34647fa2cf5f3bd2e96d71cf (diff)
parent02b33a77cc3cba06e9abc910784a5d4d7b8b28cd (diff)
Merge pull request #248 from Nadrieril/bump-charon2
Diffstat (limited to '')
-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 1b1d5cdf..8cc2f5f3 100644
--- a/tests/lean/External/Funs.lean
+++ b/tests/lean/External/Funs.lean
@@ -8,7 +8,7 @@ open Primitives
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 870a79c0..476519a3 100644
--- a/tests/lean/External/FunsExternal_Template.lean
+++ b/tests/lean/External/FunsExternal_Template.lean
@@ -7,14 +7,14 @@ open Primitives
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 836ddff0..d711dfce 100644
--- a/tests/lean/External/Types.lean
+++ b/tests/lean/External/Types.lean
@@ -7,7 +7,7 @@ open Primitives
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 24687d83..cfd031a3 100644
--- a/tests/lean/External/TypesExternal_Template.lean
+++ b/tests/lean/External/TypesExternal_Template.lean
@@ -5,7 +5,7 @@ import Base
open Primitives
/- [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 0dd692fe..c95037b1 100644
--- a/tests/lean/Traits.lean
+++ b/tests/lean/Traits.lean
@@ -512,7 +512,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