File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ pub(super) fn write(out: &mut OutFile) {
262
262
writeln ! ( out, "public:" ) ;
263
263
writeln ! (
264
264
out,
265
- " Fail(::rust::repr::PtrLen &throw$) : throw$(throw$) {{}}"
265
+ " Fail(::rust::repr::PtrLen &throw$) noexcept : throw$(throw$) {{}}" ,
266
266
) ;
267
267
writeln ! ( out, " void operator()(const char *) noexcept;" ) ;
268
268
writeln ! ( out, " void operator()(const std::string &) noexcept;" ) ;
Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ class Fail final {
535
535
repr::PtrLen &throw $;
536
536
537
537
public:
538
- Fail (repr::PtrLen &throw $) : throw $(throw $) {}
538
+ Fail (repr::PtrLen &throw $) noexcept : throw $(throw $) {}
539
539
void operator ()(const char *) noexcept ;
540
540
void operator ()(const std::string &) noexcept ;
541
541
};
You can’t perform that action at this time.
0 commit comments